Three integration models and what each commits you to
Hosted checkout redirects the buyer to the provider's page; you inherit PCI scope reduction and lose control of the last step of the funnel. Embedded fields keep the buyer on your page while card data goes directly to the provider; conversion is usually 5 to 12 percent higher than redirects. Direct API gives full control of authorization, capture, refunds and retries, but pulls you into card-data scope unless you tokenise properly. Most B2B products should start embedded and move to direct API only when billing logic demands it.
Which model fits recurring B2B billing
Recurring invoices with purchase orders, net-30 terms and partial payments rarely fit a simple checkout. If you need dunning, proration, tax handling and multiple payment methods per account, choose a provider with a subscription engine and a documented webhook model rather than building those rules yourself. Building dunning logic from scratch typically costs 15 to 25 person-days and keeps costing maintenance every quarter.
The currencies and countries question
Accepting a currency is not the same as settling in it. Ask three questions before signing: which currencies can you price in, which can you settle in, and what conversion spread applies when they differ. A provider that prices in 40 currencies but settles only in USD exposes you to a 1 to 3 percent FX spread plus settlement delay. For exporters, local acquiring in the buyer's market can improve authorization rates by 5 to 15 percent.
What integration actually costs
Budget four lines: provider fees, engineering effort, reconciliation tooling and operational time. Engineering for an embedded flow with webhooks, refunds and idempotency is typically 8 to 15 person-days per environment. Reconciliation, including matching settlement reports to orders and handling fees and chargebacks, takes another 5 to 10 person-days and needs a monthly review. The operational line is the one buyers forget: chargebacks, disputes and failed-payment support rarely take less than two hours a week once volume passes 500 transactions a month.
Reading a fee schedule without losing money
Compare effective rate, not headline rate. Add the percentage, the fixed fee per transaction, the fee for refunds, the chargeback fee, the currency conversion spread and the monthly gateway fee. On an average order of 120 dollars, a 2.9 percent plus 30 cents rate equals 3.15 percent effective; a 2.4 percent plus 20 cents rate with a 1 percent FX spread and a 15 dollar monthly fee can be more expensive at low volume. Model your own mix of transaction size and volume before choosing.
Security controls you must be able to prove
Four controls are non-negotiable: card data never touches your servers, TLS 1.2 or higher everywhere, webhook signatures verified with a shared secret, and idempotency keys on every create and capture call. Add rate limiting on payment endpoints and a separate credential per environment. If you store any cardholder data, you need a documented PCI DSS scope and quarterly network scans; the cheapest way to stay out of scope is to use provider-hosted fields and tokenisation from day one.
Checkout details that decide conversion
Three details move conversion more than visual design: showing the total including tax and shipping before the payment step, offering the payment methods the buyer actually uses in their market, and returning a clear failure message with a next action. A generic error such as payment failed loses the sale; a message that distinguishes a declined card from a timeout lets the buyer retry correctly. Test with real cards in sandbox and measure the drop-off between cart and confirmation, not just the number of completed orders.
The launch checklist that prevents silent failures
Before switching live traffic, verify: a successful payment, a declined payment, a duplicate submit, a refund, a partial refund, a chargeback notification, a webhook retry after a forced timeout, and a reconciliation run that ties settlement report totals to your order table. Run each twice, once in sandbox and once with a live low-value transaction. Silent failures usually appear in the webhook path, so log every event with its signature status and replay capability.
Get a free payment integration review
Planning a payment flow or fixing one that leaks revenue? Book a free review with our team. We will map your billing model, compare two or three provider options on effective cost, list the security controls you must evidence and give you an effort estimate in person-days for the first release.