Coder Social home page Coder Social logo

adyen-components-js-sample-code-full-flows's Introduction

Adyen Web sample code

Adyen Web 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
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:

  1. Used the correct clientKey
  2. Configured the origin on the Customer Area as an allowed origin

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.

Other sample projects

Find other sample projects in our example projects repositories.

License

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

adyen-components-js-sample-code-full-flows's People

Contributors

marcperez avatar pabloai avatar rikterbeek avatar sponglord avatar bryancresswell avatar elenapereztoril avatar

Watchers

Elena Pérez-Toril avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.