This MVP project helps to implement payme-pkg.
Pay link is a simple interface that provides pay-link functionality.
/shop/pay-link/
POST: Get a pay link for pay each order.
/payments/merchant/
includes all merchant methods that tests on Payme Sandbox
- 1 - clone repo
git clone https://github.com/Muhammadali-Akbarov/payme-sample
- 2 - create a virtual environment and activate
pip3 install virtualenv
virtualenv venv
venv\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 test
python3 manage.py runserver