Skip to content

Muhammadali-Akbarov/payme-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payme Implementation

Support Group - Telegram
YouTube - Watch Video
This MVP project helps to implement payme-pkg.

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
    • git clone https://github.com/PayTechUz/payme-sample.git
  • 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 payme-sample"
  • 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