Payment method availability by currency, country and customer group
Key Takeaway
getApplicablePaymentMethods() filters enabled payment methods by their customer group, billing country, payment amount and currency restrictions. The currency check always uses the session currency, while a parameter passed as null skips its check instead of failing it.
A payment method is a payment option, such as credit card or gift certificate, that a shopper picks at checkout in a B2C Commerce storefront. Merchants can limit each method by customer group, billing country, payment amount and currency in Business Manager, so different shoppers can see different options. Developers use the Script API to get only the methods that fit the current shopper and basket.
Four ways to restrict a payment method
A payment method is a storefront payment option that shoppers select at checkout, such as credit card or gift certificate. Each method relies on a payment processor to authorize the transaction. Payment methods belong to the Ordering module in Business Manager.
A payment method can be restricted in four ways: by customer group, by billing country, by payment amount and by currency. Each restriction narrows which shoppers and baskets can use the method.
A payment amount restriction is a minimum and a maximum. You set it per currency, so you can specify a minimum and maximum payment range for each allowed currency of a method.