⚠️ This repository is for demo purposes only
To run this project, create a
.env file on your project's root folder following the example on
MERCHANT_ACCOUNT=MyMerchantAccount CHECKOUT_APIKEY=MY_CHECKOUT_API_KEY CLIENT_KEY=MY_CLIENT_KEY
These variables can be found in Adyen Customer Area. For more information, visit our Get started with Adyen guide.
If the forms don't seem to load, please check if you have:
originon the Customer Area as an allowed origin
Navigate to the root of the project and run the
$ cd adyen-components-js-sample-code $ ./start.sh
A PHP server will start on
If preferred, you can run a Node.js server instead. To do this, navigate to the root of the project, install the dependencies (only the first time) and run the start script:
$ cd adyen-components-js-sample-code $ npm i $ npm start
A Node.js server will start on
Alternatively, you can install this example by using this shortcut to deploy to Heroku:
For the complete integration guide, refer to the Web Components documentation.
Find other sample projects in our example projects repositories.
This repository is open source and available under the MIT license. For more information, see the LICENSE file.