---
schema_version: "1"
id: 69992d5a40bba042c1a08313737a9eeb4f4fe470c476fba675e30f5242b389b3
title: Manually Configure a Payment Gateway for Order Management
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_impl_man_configure_payments.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_impl_man_configure_payments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9f981055ae5349616b40ae820ad6dfe8b6d2dd6f8abfde2f280a4b846a29152d
description: 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.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# 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.

1. 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](https://github.com/forcedotcom/Core-Payments-Reference-Gateway-Integration-Adapters).
2. Create a payment gateway provider record that points to the adapter class that you created.
3. 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.
4. To link the payment gateway provider record and the named credential, create a payment gateway record.

#### See Also

- [Implement Order Management](https://help.salesforce.com/s/articleView?id=commerce.om_impl_intro.htm&release=264.0.0&type=5 "Order Management can run with all Commerce products. After configuration, there are some additional steps B2C Commerce orgs must take to link their stores with Order Management.")