Connect a Payment Gateway to Store Checkout
The last steps in implementing payment processing include connecting the payment gateway to checkout in your store.
Set up server- or client-side payment processing. This procedure applies only to custom checkout.
-
Connect your payment gateway to your checkout using the integrated store service.
-
In the navigation sidebar, select a store from the Store dropdown.
-
Click Settings | Checkout, and then click the Payments tab.
-
Choose the payment service that you want to use.
-
- To use Salesforce Payments, on the Salesforce Payments tile, click Configure. Then, set up the merchant account. If you don’t see a Salesforce Payments tile, contact your Salesforce account executive.
- To use a third-party service, on the Alternate Provider tile, click Select Provider. Then, select a gateway provider from a third-party package. If no adapter is listed, get one from AppExchange or create one. Check the listings for a package that supports a B2B or D2C store. After you configure your payment service, confirm that your store’s Checkout page is configured correctly. See Customize Payments on a Store Checkout Page.
To integrate a third-party service without using AppExchange, see Reference Implementations for B2B Commerce and Reference Implementations for D2C Commerce. To create a custom package, see Payments Integration in the B2B Commerce and D2C Commerce Developer Guide.
-
Test your payment gateway to make sure that it’s working as expected. If you have trouble, check the Payment Gateway logs in your Commerce app. The PaymentGatewayLogs object creates records for every payment attempt and provides information when errors occur.
-
Publish your store.