Adyen provides a LINK cartridge to integrate with Salesforce Commerce Cloud (SFCC). This cartridge enables a SFCC storefront to use the Adyen payment service. This cartridge supports SFRA version 5.x.x & 6.x.x and SiteGenesis JS-Controllers version 103.1.11 and higher.
This cartridge allows you to integrate with Adyen without the need for any development work from your end. It allows you to process payments using the checkout API, and for Point of Sale (POS) payments, it uses a cloud-based Terminal API. As for the client side, Adyen’s web components are used to render payment methods.
It is required to have an Adyen account to use the cartridge. You can do this here.
Installation, Usage and Configuration is explained in Adyen's online documentation.
Apple Pay configuration can be found here.
End-to-End tests can be found in the adyen-salesforce-commerce-cloud/tests/e2e
directory.
They are run automatically via Github Actions using the E2E.yml
workflow.
To run the tests locally use the following command:
`npm run test:e2e`
Note: Please make sure to fill in the environment variables in the fixtures
directory before running the tests locally.
As for Unit tests, they are currently only available for SFRA. Test files can be found next to the files they are testing. Mocks are kept in the jest
directory.
To run SFRA unit tests locally use the following command:
`npm run test`
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our support team.
We strongly encourage you to join us in contributing to this repository so everyone can benefit from:
- New features and functionality
- Resolved bug fixes and issues
- Any general improvements
Read our contribution guidelines to find out how.
Read more information about the Adyen platform.
MIT license see LICENSE.