You are here:
Manually Configure a Payment Gateway for Order Management
If you don’t use Salesforce Payments or you’re using B2C Commerce, you can manually configure a payment gateway to view and manage payments in Order Management. Configure a gateway for each payment provider, for example, Stripe, PayPal, Adyen, or Cybersource. Payment packages are available on AppExchange for some vendors.
-
Create a payment gateway adapter class using the Salesforce APEX connector framework.
To get started, see these reference classes: https://github.com/forcedotcom/Core-Payments-Reference-Gateway-Integration-Adapters.
- Create a payment gateway provider record that points to the adapter class that you created.
-
In Setup, define a named credential that contains the gateway provider’s authentication
and login information.
The adapter class callout definition calls the named credential.
- To link the payment gateway provider record and the named credential, create a payment gateway record.

