payme-integration

Setup project

1. Clone or Download zip to yourself

git clone https://github.com/SanjarbekSaminjonov/payme-integration.git

2. Set credentials

export SECRET_KEY=SECRET_KEY
export DEBUG=true
export ID=Merchant_ID
export KEY=KEY
export TEST_KEY=TEST_KEY

Merchant_ID, KEY and TEST_KEY are credentials that payme gave you

3. Create virtual environment and Install required packages from requirements.txt

virtualenv venv
venv/Scripts/activate # on windows cmd
source venv/bin/activate # on linux or mac os terminal
pip install -r requirements

4. Migrite migrations

python manage.py migrate

5. Create Paycom user