# Payment and shipping methods for checkout

*B2C Commerce Developer Study Guide · Work With a B2C Site · Last updated November 3, 2026 · https://www.certifyforce.com/study-guide/b2c-commerce-developer/work-with-a-b2c-site/payment-and-shipping-methods-for-checkout*

How Business Manager payment and shipping method settings reach checkout code through PaymentMgr and ShippingMgr, how applyShippingCost calculates product and shipment shipping cost, and what agents can do when they order for a customer in Customer Service Center.

- Certification: Salesforce B2C Commerce Developer
- Exam section: Work With a B2C Site
- Study guide: https://www.certifyforce.com/study-guide/b2c-commerce-developer

**Official exam objective:**

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

## What the exam expects

- Configure payment methods in Business Manager (customer group, billing country and amount restrictions, sort order) and pick the `PaymentMgr` call that honors those restrictions.
- Explain which shipping methods `ShippingMgr` returns for a session and why a configured method is missing at checkout.
- Predict what `ShippingMgr.applyShippingCost()` charges: product-level fixed and surcharge costs, shipping cost groups, base-product costs, and the merchandise total behind the shipment-level cost under net or gross taxation.
- Explain how a campaign's qualifiers (customer groups, source codes, coupons) decide which promotions reach a shopper's basket.
- Describe what a Customer Service Center agent can do when placing an order on a customer's behalf.

Key terms: **payment method** (a way to pay, such as CREDIT_CARD or BANK_TRANSFER, backed by a payment processor); **applicable** (enabled and passing the restrictions for the given customer, country and amount); **shipment-level cost** (the charge on a shipment's standard shipping line item, from the method's scaled cost table); **product-level cost** (a fixed or surcharge cost defined for product groups); **merchandise total** (the shipment's product value after product and order discounts).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Default payment methods | BML, CREDIT_CARD, GIFT_CERTIFICATE, BANK_TRANSFER; disable, can't delete | [Manage Payment Methods](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_payment_methods.htm&type=5) |
| `getActivePaymentMethods()` | Ignores customer group, country, amount and currency restrictions | [Class PaymentMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.PaymentMgr.html) |
| Unsupplied argument | Its restriction isn't validated | [Class PaymentMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.PaymentMgr.html) |
| Payment method order | As sorted in Business Manager | [Class PaymentMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.PaymentMgr.html) |
| `getAllShippingMethods()` | Active methods for the session currency and customer group | [Class ShippingMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.ShippingMgr.html) |
| Shipping method with no currency | Uses the site's default currency | [Manage Shipping Methods](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_shipping_methods.htm&type=5) |
| No shipping method on the shipment | Standard shipping line item N/A; product shipping items removed | [Class ShippingMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.ShippingMgr.html) |
| Gross vs net taxation | Gross uses the total after tax, net before tax | [Class ShippingMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.ShippingMgr.html) |
| Several qualifiers on a promotion | Implied OR: meeting one is enough | [How Customers Qualify for Promotions](https://help.salesforce.com/s/articleView?id=cc.b2c_qualifiers.htm&type=5) |
| Storefront session in Customer Service Center | No manual price adjustments | [Create and Find Orders](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-create-and-find-orders.html) |

## Check yourself

- Why can't a merchandiser delete the BANK_TRANSFER payment method?
- When does `ShippingMgr.getDefaultShippingMethod()` return null?
- How do you charge one flat rate for all orders?
- When must the agent's browser allow pop-ups?

## Sources

- [Class PaymentMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.PaymentMgr.html)
- [Class ShippingMgr](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-script-api/dw.order.ShippingMgr.html)
- [Manage Payment Methods in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_payment_methods.htm&type=5)
- [Manage Shipping Methods in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_shipping_methods.htm&type=5)
- [Create and Find Orders](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-create-and-find-orders.html)
- [Create Campaigns and Promotions in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_creating_campaigns_and_promotions.htm&type=5)
- [How Customers Qualify for Promotions for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_qualifiers.htm&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 9 linked practice questions, and unlimited timed mock exams are included with the B2C Commerce Developer pack (USD $19): https://www.certifyforce.com/practice-exams
