Cert++
Close

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.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Given a configuration for tasks, such as payment and shipping information, use Business Manager to enable shoppers to complete storefront orders

0/8

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers. 796 members and growing.