/FoodStrory

📠 Payme Integration with Food story.

Primary LanguageHTML

Payme Implementation

API Endpoints

Pay link is a simple interface that provides pay-link functionality.

  • /shop/pay-link/ POST: Get a pay link for pay each order.

Merchant endpoint

  • /payments/merchant/ includes all merchant methods that tests on Payme Sandbox

Installation

  • 1 - clone repo
  • 2 - create a virtual environment and activate
    • pip3 install virtualenv
    • virtualenv venv
    • venv\Scripts\activate(windows) or source venv/bin/activate(unix-based systems)
  • 3 - cd into project "cd Sp_FoodStory"
  • 4 - Install dependencies
    • pip3 install -r requirements.txt
  • 5 - Set your environment variables
    • cp .env-sample .env
  • 6 - Run tests and app
    • python3 manage.py test
    • python3 manage.py migrate
    • python3 manage.py runserver

Learned from

https://github.com/Muhammadali-Akbarov