How do payments work inside Salesforce?Gateways, card versus ACH, payment profiles, PCI scope and dunning
The gateway is plumbing. The billing system is where the money is tracked. This guide separates the two, compares the four gateways most Salesforce billing systems connect to on their own published fees, works the card-versus-ACH arithmetic on a B2B invoice, explains what a stored payment profile is and why it keeps card numbers out of your CRM, and lays out a dunning workflow that treats a declined card as a collections task rather than a lost customer.
Payments, in a B2B revenue system, are the step where an invoice or order becomes money: a payment gateway encrypts and transmits the card or bank details and returns approved or declined, a processor moves the funds and settles them to your bank, and the billing system records the result against the invoice it paid — applying the amount, updating the balance, and storing a status a report or a workflow can act on. The gateway decides how the money moves. The billing system decides what to charge, when, and whether it landed.
Gateway, processor, billing system: who does what
The three terms get used interchangeably, and the confusion costs money because it hides where the important decisions live. The gateway guide draws the lines in detail.
| Layer | What it does | Examples | What it does not do |
|---|---|---|---|
| Payment gateway | Encrypts and transmits card or bank details from your checkout to the processor; returns approved or declined; stores tokens | Stripe, Authorize.Net, PayPal, eWay | Decide what to charge or when |
| Payment processor and merchant account | Routes the transaction through the card networks or the ACH network and settles funds to your bank | Bundled with Stripe, PayPal and eWay, and with Authorize.Net's all-in-one plan; or your bank's merchant account behind Authorize.Net's gateway-only plan | Know which invoice the money was for |
| Billing system | Owns the invoice, the amount due, the schedule, the stored payment profile and the payment status; tells the gateway what to charge and records the result | Salesforce-native billing, or a standalone billing platform synced to the CRM | Touch raw card numbers, if it is built right |
The practical consequence: a tenth of a percent on the card rate is noise next to a recurring charge that never adjusted for a one-time payment, or a declined card nobody in the CRM saw for three weeks. Choose the gateway by payment method and region. Judge the billing system by what it does with the result.
The four gateways on their published fees
Stripe, Authorize.Net, PayPal and eWay are the gateways most Salesforce billing systems connect to. All four tokenize stored payment methods, support recurring charges and provide a sandbox. They differ on fees, ACH, region and wallets. Every figure below is from the vendor's own pricing page as of September 2026, and each is linked in the sources; fees change, and the page is the source of truth. Volume and custom pricing exist and are not listed.
| Gateway | Card fee, as published | ACH or bank debit, as published | Tokenized storage | Recurring billing | Region |
|---|---|---|---|---|---|
| Stripe | 2.9% + 30¢ per successful domestic card transaction | ACH Direct Debit 0.8%, capped at $5.00 | Yes | Yes (Stripe Billing, priced separately) | Global; US ACH |
| Authorize.Net | $25 per month gateway fee; all-in-one plan 2.9% + 30¢ per transaction, or gateway-only 10¢ per transaction plus a 10¢ daily batch fee if you already have a merchant account through your bank or another provider | eCheck 0.75% per transaction for US businesses, with a $10 monthly minimum on eCheck | Yes — its own vault (Customer Information Manager), no monthly fee | Yes (Automated Recurring Billing, no monthly fee) | US-centered |
| PayPal (US) | Standard credit and debit card payments 2.99% + $0.49; PayPal Checkout 3.49% + $0.49 | ACH Services 0.80%, capped at $5.00 per transaction | Network tokenization listed as an optional service at $0.15 per token | Yes (Recurring Billing, $10.00 per month optional service) | Global; US ACH |
| eWay (Australia) | 1.5% + 25c per Visa, Mastercard or Amex transaction, +1.99% for international cards, no monthly fee; AUD, includes GST | No ACH (Australian rails); PayTo pre-authorised bank payments listed | Yes | Yes | Australia and New Zealand |
Card rates cluster within a few tenths of a percent of each other. The real differences are the monthly fee, whether ACH is available, wallet coverage (Apple Pay and Google Pay are named by Authorize.Net, PayPal and eWay), and multi-currency handling — eWay states that multi-currency requires a separate account per currency. If you run more than one gateway, the billing system has to route each payment to a processor by currency, region, payment method or the customer's saved default, and refunds have to go back through the processor that took the original payment.
Card versus ACH: the B2B arithmetic
Consumer subscriptions run on cards. B2B subscriptions run on cards for small amounts and on ACH, wire or check for large ones, because that is how accounts payable departments pay and because the fees are different in kind. Card fees are a percentage of the invoice with no ceiling. ACH fees at Stripe and PayPal are a lower percentage with a per-transaction cap; Authorize.Net's eCheck is a lower percentage as published. Work it on one invoice.
| Invoice amount | Card at 2.9% + 30¢ | Stripe ACH Direct Debit at 0.8%, $5 cap | Authorize.Net eCheck at 0.75% | Wire or check |
|---|---|---|---|---|
| $1,000 (a monthly subscription) | $29.30 | $5.00 | $7.50 | Bank fee; recorded by hand |
| $12,000 (a quarterly invoice) | $348.30 | $5.00 | $90.00 | Bank fee; recorded by hand |
| $40,000 (an annual invoice) | $1,160.30 | $5.00 | $300.00 | Bank fee; recorded by hand |
On the annual invoice, the difference between card and capped ACH is more than a thousand dollars per payment. Across a customer base that pays annually, the choice of rail is the largest cost line in this guide, and it is invisible in a gateway comparison that only lists card rates. Two cautions. ACH is not instant: a bank debit can be returned days after it appeared to succeed — wrong account number, closed account, insufficient funds, a dispute — so treat an ACH payment as final only after the return window has passed; Nacha publishes the rules. And ACH has to be processed, not just recorded: the test of a billing system is whether a bank debit runs through the gateway with a status written back, or whether "ACH" means a manual payment someone types in when the bank statement arrives.
Wire and check remain. No gateway handles them; the billing system records them as manual payments against the invoice with the reference or check number, and they should show in the same payment list and the same account balance as everything else.
Stored payment profiles and recurring charges
A stored payment profile is a saved payment method — a tokenized card, a PayPal recurring agreement, or a bank account for ACH — tied to a contact or account so future invoices can be charged without re-entering details. The customer enters the card once. The gateway stores it and returns a token. The billing system stores the token, the card type and the last four digits, and nothing else. Every later charge uses the token.
Profiles are what two things run on. One-click invoice payment: the customer, or an internal user, pays an invoice against the saved default. And recurring charges: a standing instruction to charge the stored method on a schedule — a start date, a frequency by day, week, month or year, and a number of occurrences — with the next payment date visible on the record and controls to cancel, suspend, update or bill an outstanding amount. Some gateways run the schedule on their side; some billing systems run it and call the gateway each cycle. Either works if the result is written back to the invoice.
One rule about recurring charges that catches teams out: a recurring charge is independent of any ad-hoc payment. If a customer with an active recurring charge makes a separate one-time payment, the schedule does not know, and the standing instruction has to be cancelled and re-created against the updated balance. Ask any billing vendor how they handle that case before you rely on recurring charges for B2B invoices.
PCI scope: what touches card data and what does not
PCI DSS, the card industry's data security standard maintained by the PCI Security Standards Council, applies to every system that stores, processes or transmits cardholder data. The design goal for a CRM-side billing system is to keep as much of that scope as possible on the gateway's side of the line.
| Approach | What your org stores | Scope implication |
|---|---|---|
| Card number typed into a CRM text field | The full card number, in a field a report can export | Your org is fully in scope, and the field is a breach waiting to happen |
| Gateway-hosted payment page, with the token returned to the CRM | Token, card type, last four digits, expiry | Most scope sits with the gateway; your org handles no raw card data |
| Payment terminal inside the CRM that posts directly to the gateway and stores the token | Token, card type, last four digits, expiry | Similar; the terminal must not write the card number to any field or log |
| ACH bank details | Handled by the gateway; a token or a masked account reference in the CRM | Bank details are not cardholder data, but the same discipline applies |
Whatever the architecture, the questions to ask a vendor are the same: where does the card number go when a user types it, what is written to the payment record, what is written to debug logs, and can the vendor show you the payment record with the full number absent. A billing system that stores the last four digits and the card type is storing what the customer needs to recognize the charge and nothing a thief could use.
Payment terms, applied payments and the account balance
B2B invoices are paid on terms — Net 30 by default, longer on enterprise deals — so the billing system has to know the due date, show how many days an invoice is past it, and keep an account balance that rolls up every open invoice. Applied payments are the mechanism: one payment often covers several invoices, and one invoice is sometimes paid in two parts, so the system applies amounts, shows applied and balance-due per invoice, and rolls the open balance to the account. That roll-up is what an account owner needs before selling into an account that is past due, and it is what a credit hold runs on. Refunds and voids go back through the original payment; credits and adjustments live as lines against the invoice rather than edits to it. The quote-to-cash and billing guide covers the invoice side, including the boundary with the ERP.
Dunning and involuntary churn
Involuntary churn is a customer lost because a payment failed, not because they decided to leave. In B2B it includes invoices that went unpaid because they never reached accounts payable, lacked a PO number, carried a disputed line, or simply aged past terms with no failure event at all. It is the cheapest churn to fix because there is nothing to persuade; there is a working payment method to obtain and a person who notices in time. The involuntary churn guide covers the causes and the workflow; the outline is this.
Card failures come in two kinds. A soft decline is temporary — insufficient funds, a daily limit, an issuer risk check — and a retry a few days later can succeed. A hard decline is final — a closed, lost or invalid card — and retrying it only generates fees and fraud flags. Retry soft declines; send hard declines straight to a customer notice. Some gateways offer an account-updater service that refreshes reissued card numbers and expiry dates automatically; Stripe and Authorize.Net both list one on their pricing pages.
Dunning is the recovery workflow, and a good one is a sequence with owners and dates rather than a single retry. This calendar is an example to adapt, not a benchmark.
| Day (example) | Action | Owner |
|---|---|---|
| 0 | Charge fails; Declined, Error or Expired recorded on the payment with the processor's message; automatic retry if it is a soft decline | Billing system |
| 3 | Second retry; email to the billing contact with a self-service link to update the payment method | Billing system |
| 7 | Third retry; second email; service stays on | Billing system |
| 14 | Task raised for the owner of the account, with the invoice, balance and payment history; a phone call for B2B | Account owner |
| 21 | Final notice with the suspension date | Billing system and account owner |
| 30 | Suspend service; suspend the recurring charge; flag the subscription for cancellation review | Account owner and finance |
The signals that predict a failure are already in the billing system if payments, invoices and subscriptions are records you can report on: stored payment methods expiring in the next sixty days, prior declines on an account, invoices aging past terms, repeated credit memos, a suspended recurring charge. Turn each into a report and, for high-value accounts, an automated task to the account owner before the renewal date. That is the whole predictive system. For scale, SaaS Capital's 2025 survey puts median net revenue retention near 102% for private B2B SaaS companies with mid-size deals; a point or two of avoidable churn is a real gap at those margins. And measure your own: failed payment rate, recovery rate, involuntary churn rate, days to recover, and invoice aging by bucket.
Testing a gateway before go-live
Use the gateway's sandbox, not a live account with a small charge, and go beyond the happy path. Get sandbox credentials and connect the billing system to them, not to the live keys. Pull the published test card numbers from the gateway's documentation; never use a real card. Run a declined card and confirm the payment record shows Declined with the processor's message and nothing was applied to the invoice. Run an expired card — the failure you will see most in production. Void an authorized payment before capture and refund a completed one from the original payment record; check that the invoice balance and the account balance both move back. Schedule a short-interval recurring charge with two occurrences and let it run; confirm the second payment was created, completed, and the next-payment date advanced. After every step, open the invoice and the account. If any balance takes a manual step to correct, you have found your first production bug early.
How Kugamon handles it
Kugamon's Payment object is one implementation of the native pattern. Stripe, Authorize.Net, PayPal and eWay are configured as processor connections in Kugamon Settings; an org can run one or several, and the terminal skips the processor choice when there is only one. Card and ACH both run through the gateway — ACH through Authorize.Net eCheck and Stripe ACH Direct Debit — and wire and check payments are recorded as manual payments with the reference on the record. A payment can be made only against an Approved or Released Order or an Unsent or Sent Invoice, from a Lightning terminal on the record or by the customer on the Online Order or Online Invoice page. The processor's response sets the status — In Process, Scheduled/Pending, Authorized, Completed, Declined/Error/Expired, Voided, Reversed — with the message in the memo, and Completed amounts apply to the invoice and roll up to the Account balance. Stored payment methods are off by default and enabled by Kugamon Support; once on, a contact's saved method can be marked as default, and a Recurring Charge scheduled from an Approved or Released Order carries the next payment date and Cancel, Suspend, Update and bill-outstanding controls. Refunds are issued from the original payment. Gateway fees are set by the gateway, not by Kugamon. Payments are included in the Quote to Cash and Subscription Billing editions; the payments page has the walkthrough videos.
Keep reading
- Payment gateways for subscription billing in Salesforce — the eight things subscription billing needs from a gateway, the published fees, and the seven-step test plan.
- Involuntary churn: how to stop failed payments from becoming lost customers — why payments fail, the dunning workflow, and the payment data that predicts churn early.
- B2B subscription billing — the invoice-led, contract-led process that payments sit inside.
Everything on payments.
What is involuntary churn?
Involuntary churn is a customer lost to a failed payment or unpaid invoice, not a decision. Why payments fail, how dunni…
Read →Which payment gateway is best for subscription billing in Salesforce?
The best payment gateway for subscription billing tokenizes stored payment methods, takes cards and ACH, and writes stat…
Read →The gateway encrypts and transmits the card or bank details from your checkout and returns approved or declined; the processor and merchant account move the money through the card or ACH networks and settle it to your bank. Stripe, PayPal and eWay bundle both. Authorize.Net sells a gateway-only plan for businesses with their own merchant account and an all-in-one plan that includes one. Neither layer knows which invoice the money was for; that is the billing system's job.
Because card fees are an uncapped percentage of the invoice and ACH fees at the major US gateways are a lower percentage, capped per transaction at Stripe and PayPal. On a five-figure annual invoice the difference is hundreds of dollars per payment, and it grows with invoice size. Business customers also pay by bank transfer as a matter of process, so a billing system that only takes cards leaves most B2B payments to be recorded by hand.
No, and you should not. The gateway stores the card and returns a token; the billing system stores the token, the card type and the last four digits, and charges the token on schedule. Card numbers never sit in a Salesforce field, which keeps most of your PCI DSS scope on the gateway's side of the line. A card-number text field on the Account is a scope problem and a breach waiting to happen.
A saved payment method tied to a contact or account — a tokenized card, a PayPal recurring agreement, or a bank account for ACH — that can be charged for future invoices without re-entering details. One profile is usually marked as the default. Profiles are what recurring charges and one-click invoice payments run on, and they should be tied to the processor that tokenized them, because a token from one gateway cannot be charged through another.
Dunning is the process of recovering a failed or overdue payment: retrying soft declines on a schedule, notifying the customer with a link to update the payment method, allowing a grace period, escalating to a human for B2B accounts, and eventually suspending service if nothing recovers. In B2B it is mostly collections work on invoices on net terms rather than card retries.
A customer lost because a payment failed rather than because they chose to leave: an expired card, an ACH return, an invoice that never reached accounts payable or lacked a PO number. It is the cheapest churn to fix because there is no persuasion involved, and the expiring-card report and the AR aging report catch most of it before it happens.
Where to go next
The knowledge base
Plain-spoken guides to RevOps, CPQ, billing and subscription management on Salesforce, by topic.
Browse the guides →Terms, defined
What each term means inside Salesforce specifically — not the generic definition.
Open the glossary →One email a month
What changed in Salesforce revenue tooling, and what it means. No drip sequence.
Subscribe →Ready to see it inside Salesforce?
Thirty minutes on your data with someone who has done this before. No pitch — just honest guidance.