This repository contains an Angular library that integrates Adyen payments into the SAP Composable Storefront, specifically designed for the Spartacus framework. Please note that this is an unstable alpha version, and it is still under development. Use it at your own risk and in testing environments only.
- Angular version:
17.3.0
- Spartacus version:
2211.23.0-1
Before installing the Adyen Payments library, ensure that you have a local npm registry running. If not, you can start one with Verdaccio.
-
Clone the repository:
git clone https://github.com/Adyen/adyen-spartacus/ cd adyen-spartacus/projects/adyen-payments
-
Build the package:
npm run build
-
Publish the package to the local npm registry:
npm --registry http://localhost:4873 publish --access public
Install the Adyen Payments library:
ng add adyen-payments --registry http://localhost:4873
This will automatically configure your storefront to include Adyen Payments functionality if it is a clean installation.
If your Spartacus storefront already has modifications, you might need to manually update the checkout-feature.module.ts and order-feature.module.ts files. Refer to the templates provided in the schematics directory of the Adyen Payments library for the correct configurations.
This is an alpha release and may contain bugs. Please report any issues you encounter. The library has been tested with the specified versions of Angular and Spartacus only. Compatibility with other versions is not guaranteed.
This project is licensed under the MIT License - see the LICENSE file for details.