Change woocommerce shipping cost according to payment gateway

Hello I am trying to change the shipping cost when the cheque payment gateway is selected.
The shipping costs are calculated by table rate shipping plugin.

Here is the scenario:
If customer selects Cheque payment gateway the shipping costs changes to zero(0) on any other payment gateway the shipping stays as it is.
Could someone help?

Thanks in advance!

There is a similar unanswered question here:
Woocommerce free shipping based on payment gateway selected

Source: wordpress

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.