I’m currently using a third-party payment gateway. Is it possible to enable and disable the payment gateway and enable COD when the product amount is met?
Topic summary
A Shopify store owner wants to conditionally show payment methods based on order amount—specifically disabling their third-party gateway (Paynamics) for certain transactions while enabling Cash on Delivery (COD).
Core Issue:
- The Paynamics gateway bundles multiple payment types (credit/debit cards, installments, online banking, wallets)
- They want to disable only credit/debit cards and installments, not the entire gateway
- Disabling the whole Paynamics option removes all methods, which isn’t the desired outcome
Suggested Solutions:
- Shopify Plus Script Editor - allows conditional payment logic but requires paid plan
- Third-party apps - Dynamic Payment Rules, Advanced Cash on Delivery, or COD Order Confirmation apps can set conditions
- Budget constraints limit options to free solutions, which appear unavailable
Current Status:
The discussion remains unresolved. The user has concerns about data security when using third-party solutions and questions whether payment methods can be manipulated when redirected to external payment pages. No working free solution has been identified for selectively disabling specific Paynamics payment options.
hey @Frinlanz
Yes, you can enable or disable payment gateways based on conditions like order amount in Shopify, but it requires a workaround since Shopify does not provide a built-in option for conditional payment methods. Here’s how you can achieve it:
-
Using Shopify Plus (Script Editor)
- If you’re on Shopify Plus, you can use the Script Editor to customize payment methods based on cart conditions.
-
Using Third-Party Apps
- Apps like Dynamic Payment Rules by Mageworx or COD Order Confirmation allow you to set conditions for payment methods.
-
Manual Alternative
- You can display a message at checkout informing customers that COD is only available for specific order values, but the actual enforcement would require manual verification.
since our budget is limited, we have to rely on free application but can’t find suitable apps for this.
anyways thankyou
Hi @Frinlanz
You can conditionally enable/disable payment methods based on the cart total, but Shopify doesn’t offer this natively. You’ll need a third-party app or custom coding. Apps like Dynamic Payment Rules or Advanced Cash on Delivery let you control when COD appears.
I disabled the paynamics “payment gateway” then enabled the COD but nothing happens
Thanks for the info, but our main problem in our payment gateway.
We have to disable the whole payment gateway (over the counter, online banking and wallets) will be included.
We only want to disable the credit/debit card and installment method.
Pay via Paynamics after that you will directed into the list of payment method, that’s why our only choice is to disabled pay via paynamics.
sorry, but is this safe? cause we will share some of our data
possible to manipulate the payment method?

