This repository provides working examples of pre-built integrations for payment gateways and payment methods, delivered as Postman Collections and storefront setup samples. Leverage these resources within your SAP Commerce Cloud, Open Payment Framework tenant to streamline integration.
Key Features
- Freedom of Choice: Our support for Payment Service Providers (PSPs) goes beyond the examples listed, offering a broader range of choices and integrations, ensuring freedom in selecting the payment solutions that best fit your needs.
- Customization: Configure your own payment gateways to integrate with any PSP, and enable the specific payment methods (e.g., credit cards, digital wallets) they support. Additionally, we support the configuration of standalone payment methods, allowing you to incorporate unique or specialized payment options tailored to your business requirements.
Important Notes
- The provided samples are reference implementations for select PSPs and are not officially supported by SAP or payment providers.
- Thoroughly test integrations in your OPF tenant before deploying to production.
- Adapt the templates or build custom integrations to meet your unique business requirements.
Here’s the meaning of some key fields in the environment variables:
-
token: A Bearer token used to access the Open Payment Framework core. This token is generated by creating an external app and making authorized API calls.
-
rootUrl: The root URL of the Open Payment Framework service, e.g.,
https://opf-iss-d0.api.commerce.stage.context.cloud.sap
. -
service: The name of your Open Payment Framework service in a specific environment. The default value is
opf
. -
accountGroupId: The ID of the payment integration you created in the Open Payment Framework Workbench.
-
accountId: The ID of the configuration you created under the payment integration.
- A licensed SAP Commerce Cloud, open payment framework Tenant.
- One or more test/live merchant accounts for the Payment Gateway/Method you are importing the collection for.
- Replace the payment account-specific secrets and variables in the environment file.
- Import the Postman collection with the updated environment settings into your Open Payment Framework tenant as described on the SAP Help Portal.
No known issues at this time.
Refer to the Open Payment Framework Logging feature for troubleshooting.
You are welcome to add collections for other gateways to this repository.
To contribute:
- Create a fork of the repository.
- Make your changes and create a Pull Request.
- The repository administrator will review and merge your changes.
Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
This project is licensed under the Apache Software License, version 2.0, except as noted otherwise in the LICENSE file.