Chargent for Salesforce Payment Automation: A Guide to Salesforce Payment Gateway Integration
When payments live outside Salesforce, someone keys in every transaction, reconciles it by hand and chases failed cards from a spreadsheet. Chargent moves that work into Salesforce. Here is how it connects to your gateway, what it automates, how it limits PCI scope, and how to implement it without creating duplicate charges.
Key Takeaways
- Chargent is a Salesforce-native payment app. It connects Salesforce directly to more than 30 payment gateways, with no intermediary in between, so card and ACH payments are taken, recorded and reported in Salesforce.
- It automates one-time charges, payment links, recurring and instalment billing, card-expiry reminders and, on higher plans, failed-payment retries and dunning.
- Chargent reduces PCI scope through tokenization, encrypted fields and automatic card-data clearing, but it does not make your organization PCI compliant. That responsibility stays with you.
- Choose the gateway carefully. Gateway tokens cannot be moved to another provider, so changing gateways later can mean collecting card details again.
- Most production problems come from configuration, not the app: validation rules on payment records, duplicate first charges, and loose access to the gateway record.
What is Salesforce payment gateway integration? It is the connection that lets Salesforce send a card or bank payment to a payment gateway and receive the result back on the customer's record. A good integration removes re-keying and manual reconciliation, keeps card data out of places it should not be, and lets payments trigger the rest of your Salesforce automation, from receipts to renewals.
Chargent is one of the most established ways to do this on the Salesforce platform. This guide explains what it does, where it fits against Salesforce's own payment features and custom integrations, and what an implementation involves. It is written for finance, RevOps and Salesforce leaders at growing and mid-market companies, and at enterprise organizations, that take payments from customers they already manage in Salesforce. Product details come from Chargent's and Salesforce's own documentation, checked in November 2026.
What Is Chargent and How Does It Connect Salesforce to a Payment Gateway?
Chargent is a payment app that runs inside Salesforce and sends transactions straight to your payment gateway. Chargent describes it as a virtual terminal that lives entirely in Salesforce. A user, a customer or an automation starts a payment on a Salesforce record. Chargent sends it to the gateway, the gateway passes it to your merchant account and bank, and the result is written back to Salesforce.
Three terms are often confused, and the difference matters when you choose a setup:
| Term | What it does | Where Chargent fits |
|---|---|---|
| Payment gateway | Securely receives the transaction and routes it for authorization, for example Stripe, Authorize.net, CyberSource or PayPal | Chargent connects to the gateway directly, using the gateway credentials you enter |
| Payment processor (merchant account) | Processes the payment between the card networks and your bank | Any processor works, as long as it works with a gateway Chargent supports |
| Payment app in Salesforce | Starts payments from Salesforce records and stores the results as Salesforce data | This is Chargent: orders, transactions, payment methods and schedules are Salesforce records |
Chargent emphasises that its gateway integrations are direct, with no third party in between. Some payment apps reach a longer list of gateways through an intermediary, which Chargent warns can add fees and proprietary tokens. Setup uses a wizard: you paste your gateway credentials, run a test transaction, and the gateway is connected.
Why Process Payments Inside Salesforce Instead of a Separate Portal?
Because a disconnected payment portal creates four kinds of manual work that grow with every customer. Staff re-enter each transaction, finance reconciles two systems, nobody acts on a declined card until someone notices, and card data spreads across tools that each widen your PCI scope. Processing payments where the customer record already lives removes most of that work.
We see the same pattern in the payment projects we publish. In one, a law firm's Authorize.Net payments and Salesforce were disconnected, so cash receipts lagged by days and payments were applied to the wrong matter. In another, a firm re-keyed every LawPay e-check into Salesforce and reconciled by hand every month. Those projects used custom gateway integrations rather than Chargent. The diagnosis is the same, and it is the problem Chargent is built to solve without custom code.
What Payment Processing Automation Can Chargent Handle?
Chargent covers the full collection cycle: taking a payment, requesting one, scheduling repeat charges, preventing declines and recovering failed payments. Each payment becomes Salesforce data, so Flow, reports and dashboards can use it like any other record. Some features depend on your Chargent plan, which Section 08 covers.
Payment Console
Staff take card or ACH payments over the phone from a Salesforce pop-up. Chargent documents that it creates the transaction and token without saving the account number in Salesforce.
Payment Request links
Send a secure payment link by email or SMS. The customer pays online and the result lands on the Salesforce record that sent the request.
Recurring and instalment billing
Subscriptions, memberships, instalment plans and retainers on ten frequencies from daily to biennial, with stop rules by date, count or balance.
Card-expiry reminders
Customers are emailed before their card expires, with a link to update it. Chargent calls this pre-dunning: preventing the decline instead of chasing it.
Automated Collections
Failed payments are retried on a schedule you set, with dunning emails built from your own Salesforce templates and a payment link at every stage.
Self-service in Experience Cloud
Customers, members or donors view invoices, update payment methods and settle balances in a Salesforce Experience Cloud portal.
Automation hooks for admins and developers
Because Chargent's orders and transactions are Salesforce objects, Salesforce Flow can react to them: create a receipt, update an opportunity, open a case when a payment fails, or notify an account owner. Chargent also documents REST and Flow APIs (on its Growth plan and above), including a REST resource for creating recurring orders in bulk. That makes it practical to start payments from a quote, a signed contract or an onboarding flow rather than by hand. Our Salesforce integration services connect those events to the rest of your stack, such as your accounting system.
How Do Automated Payments and Recurring Billing Work in Chargent?
A recurring payment is a Chargent Order with a schedule. You set the amount, frequency, start date and stop rule, and Chargent's scheduled batch charges every order that is due. The order's payment status controls the cycle: a declined charge moves it to Error and stops further attempts until someone, or an automated collections process, acts.
| Payment status | What it means | What to automate |
|---|---|---|
| Recurring | The order is picked up by the recurring billing batch when it is due | Receipts and account updates after each approved charge |
| Error | A charge failed, for example a decline. No further charges run until the status returns to Recurring | Owner alerts, a payment-update request, or Automated Collections retries |
| Stopped | Recurring charges are paused on purpose | Pauses requested through support or a portal |
| Complete | The stop rule has been reached | Renewal tasks or a new order for the next term |
Schedule settings that matter
- Frequency: once, daily, weekly, biweekly, monthly, bimonthly, quarterly, semiannual, annual or biennial.
- Stop rule: a date, a count of approved recurring charges, a zero balance, or unending for subscriptions. Chargent recommends the balance rule only when the charge amount divides evenly into the total, or the last charge can overshoot.
- Charge date: a fixed day of the month (1 to 31). A charge that was declined and later retried does not shift next month's date.
- Tokenization: Chargent's guidance is to use gateway tokenization for recurring billing, with the card security code entered for the first transaction only.
Two mistakes that cause duplicate or missed charges
Validation rules on payment records. Chargent warns that validation rules or required fields on recurring orders can stop the record saving after a transaction. Because recurring charges run in a batch, the error appears only in Salesforce's Apex Jobs page, and some cases can cause duplicate transactions. Test every rule in a sandbox.
Taking the first payment by hand. Manual and recurring charges are counted separately. If you charge the first instalment manually, move the schedule's start date forward one period, so the batch does not charge the same customer again the next morning.
When a recurring charge fails, Automated Collections can run a campaign: how often to retry, how often to email, and for how long. Each email can carry a payment link, so the customer fixes the problem themselves and staff handle only the exceptions. Pair it with card-expiry reminders and many declines never happen at all.
Is a Salesforce Payment Gateway Integration with Chargent PCI Compliant?
Chargent and Salesforce cover a large part of PCI scope, but neither makes your organization compliant. Chargent's own documentation says so plainly. Salesforce is PCI DSS certified as a service provider, and Chargent keeps data inside Salesforce. What you store, who can see it and how your teams handle payments remain your responsibility under the PCI Data Security Standard.
What the platform gives you. Gateway tokenization, so card numbers are stored by the gateway rather than in Salesforce. Encrypted fields that show only the last four digits. A Payment Console that creates tokens without saving card numbers. Settings that clear card data and security codes automatically after a charge.
What stays with you. Configuring those settings correctly, restricting access to payment data and the gateway record, never storing card security codes, PINs or full magnetic-stripe or chip data in Salesforce (even encrypted), and validating compliance with your acquiring bank.
The card-data setting to decide on day one
Each Chargent gateway record has a Credit Card Handling setting that decides whether card data is kept after a transaction. Choose it deliberately, because it shapes your PCI scope.
| Option | What Chargent does | When it fits |
|---|---|---|
| Clear When Token Present | Clears the card number, expiry and security code once the gateway has returned a token | Recurring billing on a gateway that supports tokenization (the usual choice) |
| Clear After Successful Charge | Clears card data only after an approved charge | One-time payments where a failed charge may be retried |
| Clear After All Transactions | Clears card data after any charge, void or refund | Teams that want no card data retained at all |
| Never Clear | Keeps card data in encrypted fields | Rarely advisable; needs a strong documented reason and tight access controls |
Security checklist for the Salesforce side
- Turn on the "Clear CVV" option so the card security code is deleted after the first approved transaction.
- Lock down the gateway record. Only administrators and finance should be able to create, edit or delete it; everyone else gets read-only access or none.
- Avoid the "View Encrypted Data" permission. If a role truly needs it, write down who has it and why.
- Use permission sets and field-level security to control who sees payment fields, and assign Chargent licences only to users who take or manage payments.
- Enable field history tracking on key order and transaction fields, such as amounts, payment method and bank details, for an audit trail.
The standard itself is published by the PCI Security Standards Council. Your acquiring bank tells you which validation, such as a self-assessment questionnaire, applies to your business.
How Do You Choose the Right Payment Gateway Integration for Salesforce?
Choose the gateway for the payments you will take in three years, not just today. Check its security features, currencies and payment methods, pricing at your expected volume, and how it handles tokens. Tokens are specific to each gateway and cannot be moved to another provider, so switching later can mean asking customers for their card details again.
| Question | Why it matters |
|---|---|
| Does it support tokenization, AVS and Strong Customer Authentication? | These are the security features Chargent tells buyers to check first. Tokenization keeps card numbers out of Salesforce |
| Does it cover your currencies and countries? | International payments need the right currencies and, for bank payments, the right direct-debit networks |
| Does it support ACH or e-check? | Bank payments often suit large invoices and recurring plans. Bank credits from a Chargent order also need gateway support |
| What does it cost at your volume? | Compare transaction fees, monthly fees and features at the volume you expect, not today's |
| How portable are your tokens? | If tokens cannot move, the gateway decision is close to permanent for recurring customers. Ask the gateway about token migration before you sign |
| Do you need more than one gateway? | Several brands, regions or entities may need separate gateways. Chargent's higher plans add multi-gateway tokenization and payment routing |
If you already have a merchant account, start by checking which gateway it works with. Chargent connects to the gateway, and the processor behind it can be any that the gateway supports.
Chargent vs Salesforce Payments vs a Custom Integration: Which Fits?
Choose Chargent when you need flexible gateway choice and recurring billing on standard Salesforce records. Salesforce's own Payments features suit simple payment links and Salesforce Commerce storefronts. A custom integration suits an unusual gateway or a highly specific process. Some teams combine them: Chargent for billing and collections, with integrations around it for accounting and other systems.
| Chargent | Salesforce Payments | Custom integration | |
|---|---|---|---|
| What it is | A managed app with direct integrations to 30+ gateways | Salesforce's built-in payments, including Pay Now links and Commerce checkout | Apex and APIs built for one gateway, or Salesforce's payment gateway adapter framework |
| Strongest for | Recurring and instalment billing, phone payments, collections, many gateway choices | Payment links on Salesforce records and Commerce storefronts | Gateways or processes no packaged app covers |
| Gateway choice | Broad | Check provider list | Any you build |
| Build effort | Configuration plus Flow | Configuration | Development, testing and ongoing maintenance |
| Watch out for | Licence cost; plan level decides collections and API features | Check which payment features your edition and region include | You own security, error handling and every gateway API change |
Salesforce describes Pay Now as included with Starter Suite, Pro Suite and Salesforce Foundations, with payment links that can be embedded in Flows. For a custom build, Salesforce's developer guide to setting up a payment gateway adapter shows the moving parts: Apex adapter classes, a named credential, and payment gateway provider and gateway records.
We have built custom gateway integrations where they were the right answer. For example, a Stripe and Salesforce automation for a US nonprofit generates invoices when an opportunity is created, syncs payment status through webhooks, and sends reminders for unpaid invoices. Every custom path also carries an ongoing maintenance cost. When a packaged app covers the requirement, it is usually the cheaper option to run over time.
Which Chargent Plan Do You Need?
The plan decides whether you get automated collections and APIs, so map features to plans before you budget. Chargent publishes three plans, billed annually, with prices that scale with usage. Every plan includes recurring billing, payment links and the direct gateway integrations. Automated Collections and the REST and Flow APIs start at Growth.
| Plan | Published price (Nov 2026) | Adds |
|---|---|---|
| Startup | $667 per month, billed annually | Recurring and instalment payments, payment links, phone payments, payments on any Salesforce page, Experience Cloud payments, ACH account validation, card-expiry reminders, surcharging, 30+ gateways |
| Growth | $1,333 per month, billed annually | Automated Collections, REST and Flow APIs, multi-gateway tokenization, smart payment routing, customizable checkout |
| Enterprise | Priced on volume and requirements | Chargent for Commerce Cloud, Data Cloud and Billing, contact centre integrations, zero-footprint tokenization |
Prices and plan contents are Chargent's and change over time, so confirm them with Chargent before you buy. Chargent also offers nonprofit discounts. In our experience, the deciding question for most growing and mid-market companies is whether failed-payment recovery and API-driven payments are needed in year one.
What Does a Chargent Implementation Look Like, Step by Step?
Design the payment process first, then configure Chargent in a sandbox, test real scenarios against the gateway's test environment, and go live with monitoring in place. Installing the app takes minutes. The work that decides success is the process design: which records start payments, how failures are handled, who can see payment data, and how payments reach accounting.
Connecting payments to accounting is often the step that delivers the biggest finance win. In our LawPay and Accounting Seed project, Flow created the cash receipt and the processing-fee record the moment each payment came in. That replaced a monthly manual reconciliation. The same design principle applies to Chargent transactions.
The Bottom Line
Chargent turns Salesforce into the place where payments are taken, scheduled, recovered and reported, connected directly to the gateway you choose. The app provides the tools. A secure, scalable result depends on gateway choice, card-data settings, access control and tested automation. Twopir Consulting provides Chargent consulting services, from gateway setup and workflow automation to training and ongoing support. We implement, rescue, optimize, and integrate complex CRM and revenue systems.
- 1
Choose the gateway with tokens in mind: they cannot be moved to another provider.
- 2
Set Credit Card Handling and Clear CVV before the first live payment.
- 3
Keep the gateway record and encrypted data restricted to admins and finance.
- 4
Test validation rules and manual first charges against the recurring batch in a sandbox.
- 5
Automate what happens after payment, from receipts to accounting, not just the charge.
Bring Your Payments into Salesforce
Tell us how you take payments today, which gateway you use and where reconciliation hurts. We will map the Chargent setup, security settings and automation your org needs.
Schedule a Discovery CallFrequently Asked Questions
Chargent is a Salesforce-native payment app from AppFrontier. It connects Salesforce directly to more than 30 payment gateways and lets teams take card and ACH payments, send payment links, run recurring and instalment billing, and recover failed payments, with every transaction stored as Salesforce data.
Chargent offers direct integrations with more than 30 gateways, including Stripe, Authorize.net, CyberSource and PayPal. It connects to the gateway rather than the processor, so any merchant account that works with a supported gateway can be used. Check Chargent's current gateway list for your provider.
It does not have to. With gateway tokenization, the gateway stores the card and Salesforce keeps only a token and the last four digits. Chargent's Payment Console creates tokens without saving card numbers, and the Credit Card Handling setting can clear card data automatically after a charge.
No. Chargent's documentation states that using Salesforce or Chargent does not make an organization PCI compliant. Both reduce your scope, but you remain responsible for configuration, access control, staff processes and validating compliance with your acquiring bank.
Yes. Chargent schedules recurring and instalment charges on frequencies from daily to biennial, emails customers before their cards expire, and on its Growth plan and above, Automated Collections retries failed payments and sends dunning emails with payment links.
Salesforce Payments is Salesforce's built-in payments capability, including Pay Now links and Commerce checkout. Chargent is a third-party app focused on broad gateway choice, recurring billing, phone payments and collections on standard Salesforce records. The right choice depends on your gateway, billing model and edition.
Connecting a gateway can take minutes, but a production rollout depends on scope. A single gateway with one-time payments is quick. Recurring billing, collections, Experience Cloud portals, accounting integration and migrating existing payment schedules each add design and testing time.
Twopir Consulting
Twopir Consulting helps growing and mid-market companies solve complex CRM, integration, and business system challenges. We implement, rescue, optimize, and integrate complex CRM and revenue systems, including Chargent and other payment integrations for Salesforce, for 500+ clients over 12+ years.