/Django-Stripe

Test task for integrating Django and the Stripe payment system.

Primary LanguagePython

📃 About

The Django-Stripe is a Django / DRF based API that implements the integration of Django with the Stripe payment system.

The project provides the following endpoints:

  • List of all items: /items/
  • Item detail: /item/{id}/
  • Session id for payment Item: /buy/{id}/

The project was created as a test task.

💽 Installation

  1. Clone or download the repository.

  2. Rename .env.dist to .env and populate it with all variables or just leave test ones.

  3. Run docker services: docker-compose up -d

🌄 Demonstration

Items page

firefox_bsavDDoJbg

Item detail page

firefox_r7xbY8VQpr

Payment page

firefox_ZND4CeUwX7

Successful payment page

firefox_0S9AzhHNVN