Support Group - Telegram
YouTube - Watch Video (coming soon)
This MVP project helps to implement click-pkg (coming soon).
-
/click/merchant/
GET: Get a pay link for pay each order:GET: http://127.0.0.1:8000/click/merchant?order_id=12
{ "link": "https://my.click.uz/services/pay?service_id=12345&merchant_id=12345&amount=500&transaction_param=12", "status": false }
/click/merchant/
POST: includesPREPARE/COMPLETE
merchant methods that tests on ClickUz Shop-API Application
- 1 - Clone repo
git clone https://github.com/PayTechUz/click-sample.git
- 2 - Create a virtual environment and activate
pip3 install virtualenv
virtualenv env
env\Scripts\activate # windows
source env/bin/activate # unix-based systems
- 3 - Change dir into project
cd click-sample
- 4 - Install dependencies
pip3 install -r requirements.txt
- 5 - Set your environment variables
cp .sample.env .env # unix-based systems
- 6 - Run
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver