How can I offer a discount for a specific payment method (e.g. prepaid)?
Why this isn’t possible automatically
Section titled “Why this isn’t possible automatically”Shopify evaluates discounts before the customer picks a payment method. When the discount function runs, no payment method has been selected yet — so there is no way for Payflow (or any Shopify app) to grant “5% off only when they choose prepaid” as an automatic checkout action. This is a Shopify platform constraint, not a Payflow limitation.
Workaround — discount code + hide rules
Section titled “Workaround — discount code + hide rules”The practical approach: create a discount code customers enter when they want the deal, then use Payflow to hide payment methods that should not go with that offer.
- In Shopify admin → Discounts, create a discount code (e.g.
PREPAID5) for 5% off. - In Payflow, Create customization → Hide payment methods.
- Add Discount percentage → Is →
5(matching the 5% value of the code). - Hide the methods that should not pair with the deal (e.g. Pre-defined →
Cash on Delivery). - Active, Save, and test: enter the code at checkout — COD disappears; remove the code — COD returns.
Customers enter the code when they intend to pay the discounted way; the payment list then matches the deal.
For why this ordering exists and more patterns (including automatic discounts and Shopify Plus extensions), see Limitations — payment-method-specific discounts.