⚠️ 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 .env.default
.
MERCHANT_ACCOUNT=MyMerchantAccount
CHECKOUT_APIKEY=MY_CHECKOUT_API_KEY
These variables can be found in Adyen Customer Area. For more information, visit our Get started with Adyen guide.
Run from the root of the project:
$ cd adyen-components-js-sample-code
$ ./start.sh
A PHP server will start on http://localhost:3000
.
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.
This repository is open source and available under the MIT license. For more information, see the LICENSE file.