payme-sample
payme-sample copied to clipboard
🟢 Payme Integration Sample with Python/Django 2023 — 04
trafficstars
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 virtualenvvirtualenv venvvenv\Scripts\activate(windows) orsource 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 testpython3 manage.py migratepython3 manage.py runserver