Manage payment gateways
Before app developers can purchase rate plans, you need to configure supported payment gateways, as described in the following sections:
- Install payment gateways
- Configure a payment gateway
- Edit a payment gateway
- Delete a payment gateway
Install payment gateways
Install any of the payment gateways that are available for use with Drupal Commerce, including Stripe, Square, and more. See Available payment gateways in the Drupal Commerce documentation. Payment gateways can be on-site or off-site.
To install one or more payment gateways, see Installing and configuring a payment gateway in the Drupal Commerce documentation.
Note: In addition to supporting a payment gateway, for prepaid billing you can use self-managed (manual) payment processing, as described in Configure a payment gateway.
Configure a payment gateway
To configure a payment gateway:
- Select Commerce > Configuration > Payment > Payment Gateways.
- Click + Add payment gateway.
- Enter a unique and descriptive name for the payment gateway.
- Select the type of payment gateway.
The payment gateways that are listed depend on those that you have installed, as described in Install payment gateways. - Configure the payment gateway or select Manual to self-manage the payment processing.
- Configure the payment gateway, as required.
- If you selected Manual:
- Enter a display name.
The display name is shown to app developers during checkout. - Enter instructions for customers to provide payment manually.
Click About text formats help link for more information. The payment instructions are displayed to app developers once they've completed
- Enter a display name.
- Configure conditional access to the payment provider:
- Click Customer to restrict access by app developer role, email, or billing address.
- Click Order to restrict access by current order total, currency, type, or store.
- Click Products to restrict access by orders that contain specific API products, categories, types, or variation types.
- Select whether All conditions must pass or Only one condition must pass in order to allow access.
- In the Status section, enable or disable the payment gateway.
- Click Save.
Edit a payment gateway
To edit a payment gateway:
- Select Commerce > Configuration > Payment > Payment Gateways.
- Click Edit in the Operations column of the payment gateway you want to edit.
- Edit the payment gateway configuration.
- Click Save.
Delete a payment gateway
Deleting a payment gateway will prevent its use in the future.
To delete a payment gateway:
- Select Commerce > Configuration > Payment > Payment Gateways.
- Click Delete in the Operations column of the payment gateway you want to delete.
- Confirm the delete operation.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion