I have three shipping methods and three payment methods listed in my store, both shipping and payment methods are named similarly as Cash On Delivery, Bank Transfer and card payment. On Cash On Delivery, our courier doesn't collect more than LKR 10,000 so we want to limit cash on delivery sale to LKR 10,000.
I can set up a limit for the shipping method at 10,000. As in, when a customer adds an order above LKR 10,000 shipping method of cash on delivery doesn't appear. But the real issue is, under payment method, all three payment methods appear at all times, and customers are able to complete the order even above LKR10k.
Is there a way to set up the payment method as, when a customer selects a specific shipping method, only the relevant payment method showsup as a payment method : For example If a customer selects cash on delivery as the shipping method, the customer should be able to use only the cash on the delivery payment method at checkout?
Unfortunately it's not possibile. Shopify payment methods are global and currently it's not possible to hide a payment method based on some condition unless you are on the Shopify Plus plan that gives you access to the checkout.liquid template.
The only option I can suggest you is to add a notice to your Cash On Delivery payment method so that when your customers select Cash On Delivery at checkout they know that they can only use it for orders under LKR 10,000
To do this open your Payment Settings by going into Settings -> Payments and click on the 'Edit' button on the right of your Cash on Delivery payment method
Then on the popup that appears you can add instructions like these ones on the 'Additional details' field:
These 'Additional details' will appear when a customer selects Cash on Delivery at checkout and your customer will read them before completing the order.
I know this is not a perfect solution but unfortunately it's the only way to achieve this right now.
Let me know if this solves your issue or if I can further help you!
At this time, it's not possible to set or restrict payment methods for your customers based on order details. Payment methods are a store-wide feature that cannot be segmented out based on conditions. With that said, I'd be happy to pass this along as feedback to our developers for potential future implementation.
As a workaround, I would add a note to the COD payment method that visibly states "Only for orders under 10K LKR" for your customers to see at checkout.
If there is anything else I can help you with, please let me know.