Adyen Checkout integration demo
This repository includes examples of PCI-compliant UI integrations for online payments with Adyen. Within this demo app, we've created a simplified version of an e-commerce website, complete with commented code to highlight key features and concepts of Adyen's API. Check out the underlying code to see how you can integrate Adyen to give your shoppers the option to pay with their preferred payment methods, all in a seamless checkout experience.
Python with Flask demos of the following client-side integrations are available in this repository:
- Python 3.5 or greater
- Python libraries:
- flask
- requests
- Clone this repo
- Navigate to root level of repo
- Run
source ./start.sh
to:- Create and activate a virtual environment
- Download the necessary python dependencies
- Configure the required environment variables for your Flask instance
- Update the config file
config.ini
with your API key, Origin Key, and merchant account name like below:merchant_account = TestMerchantAccount checkout_apikey = SampleAPIKey origin_key = SampleOriginKey
- Start the flask server by running:
flask run
- Visit http://localhost:5000/ to select an integration type
We commit all our new features directly into our GitHub repository. Feel free to request or suggest new features or code changes yourself as well!!
MIT license. For more information, see the LICENSE file in the root directory