Is it possible to add discounts (change price) based on the type of payment method selected?
Topic summary
A merchant inquires about applying discounts based on the selected payment method at checkout.
Current Limitation:
- Shopify does not natively support payment-method-based discounts through its standard discount system or Shopify Functions.
Suggested Workarounds:
- Search existing community threads discussing this limitation
- Submit a feature request via Shopify Support or the developer forums
- Use third-party payment apps with built-in discount capabilities
- Implement a complex workaround: detect payment method before checkout, set customer metafields or cart attributes, use Shopify Functions to hide other payment methods, apply discount, and validate the correct payment method was used at order completion
- Note: This workaround requires disabling dynamic checkout buttons and accelerated checkouts
Resolution Status:
The discussion remains open with no native solution available. One participant offers a custom-developed paid app as an alternative solution.
Hi @riri1983
Through discounts search for threads like the following:
Also see the new dev forums, https://community.shopify.dev/ , to try and surface this limitation / feature-request
for discounts either https://community.shopify.dev/t/about-the-products-and-orders-apis-category/23
or the shopify-functions subform https://community.shopify.dev/c/shopify-functions/15
Also file a feature request directly with shopify support using the chat on the help docs
Basically as a workaround it’s either use a third party payment apps/system with the required behavior,
or when using the online-sales-channel; and not using dynamic checkout button , and possibly not using accelerated checkouts
- get/infer which method will be used BEFORE checkout >
- the set a customer.metfield, or less secure a cart-attribute, or some other flag then use shopify-functions to hide all other payment methods >
- then in the initial checkout steps apply a discount >
- then they can only select the specific payment method in checkout.
This also should be bookended with order validation that checks the proper payment method was used for the discount(s).
Through shopify-functions this still isn’t that feasible, that replaced shopify-scripts for PLUS plans.
advanced thread for reading NOT a solution thread: https://github.com/jgodson/shopify-script-creator/issues/27
Thanks Paul, I appreciate your help. I wish there was a clean way, but I’ll dig into it and hopefully make it happen!
Thanks again
Hi, I have developed an app that we are offering at a monthly fee. It allows you to set up custom pricing based on payment methods. Please drop me an email if you are interested. [email removed]