Skip to content

noffa/adyen-components-js-sample-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adyen Components sample code

Adyen Components Sample Code

⚠️ This repository is for demo purposes only

Requirements

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.

Installation

Running the PHP Server

Navigate to the root of the project and run the start.sh script:

$ cd adyen-components-js-sample-code
$ ./start.sh

A PHP server will start on http://localhost:3000.

Running the Node.js Server

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 http://localhost:3000.

Deploying this example to Heroku

Alternatively, you can install this example by using this shortcut to deploy to Heroku:

Deploy

Documentation

For the complete integration guide, refer to the Web Components documentation.

License

This repository is open source and available under the MIT license. For more information, see the LICENSE file.

About

Sample code of Adyen Components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 48.9%
  • JavaScript 30.9%
  • PHP 12.0%
  • CSS 7.7%
  • Shell 0.5%