Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Simple Adyen Drop-in API integration in Django webapp

License

Notifications You must be signed in to change notification settings

Chouffy/adyen-python-store-demo

Repository files navigation

Adyen Drop-in - Demo Store

This repo contain an implementation of the Adyen Drop-In API on a simple Django webapp. You can see the application live on Heroku!

The goal was to illustrate the integration of this API. As such it's pretty barebone:

  • Selection from 3 countries
  • No real cart content
  • Fixed amount and currency(15.00€)

TODO items are used to note documentation remarks that I had.

Requirements

  • Python 3.8.2
  • Packages: Django, Adyen, whitenoise and gunicorn to run in on Heroku
  • Adyen account, that you can request it here.

Installation

Most merchant-specific info are needs to be registered in base/secrets.py. A template is provided in base/secrets_template.py.

  1. Rename base/secrets_template.py to base/secrets.py.
  2. Fill the variable with your merchant information.
  3. Don't forget to install required packages: pip install Adyen Django whitenoise
  4. If you want to deploy the app, update Django configuration with your host in adyen-python-store-demo/settings.py, ALLOWED_HOSTS

Usage

  1. Collect static files: manage.py collectstatic
  2. Start the Django app: manage.py runserver

Usages acknowledgment

License

The Unlicense - see LICENSE. Some code extract are coming from Adyen documentation.

About

Simple Adyen Drop-in API integration in Django webapp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published