Problem with prepaid shipping and COD How can I link specific payment methods to shipping

debanjansaha
Visitor
1 0 1

At checkout after the customer enters his personal details the customer is prompted to select shipping method in the next step

 

here I offer two shipping methods:

1. Free Shipping (Prepaid orders only)

2. Cash on Delivery (COD)
 
debanjansaha_0-1714220886431.png

if the customer selects COD..only COD should be shown at final payment method

if customer selects Prepaid..only PayU (my payment gateway) should be shown at the final step

regardless of which shipping method I select, both COD and Prepaid payment options are showing up at final step of my store

How can I fix it?

 

I want

ONLY Cash on delivery payment  to show when cash on delivery shipping method is selected

and 

ONLY PayU (My prepaid payment gateway) payment to show when prepaid shipping method is selected

Reply 1 (1)

sniper2804
Shopify Partner
399 25 68

Hi, 

 

You need to use an app for this. Our app Paymix offers this functionality to hide payment methods based on the selected shipping methods. You can install the app here and reach out to the customer support for help. 

Automate & bulk assign products to shipping profile: Auto Shipping Profiles: Shipr
Calculate accurate shipping rates: Shipping Calculator: ShipMagic
Hide, rename, reorder payment methods at checkout: Payment Customization: PayMix