Skip to content

Latest commit

 

History

History
82 lines (67 loc) · 1.99 KB

README.md

File metadata and controls

82 lines (67 loc) · 1.99 KB

🔵 Click Implementation

Support Group - Telegram
YouTube - Watch Video (coming soon)
This MVP project helps to implement click-pkg (coming soon).

API Endpoints

  • /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
    }

Merchant endpoint

Swagger

image

ClickUz Application Test

image

Installation

  • 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

Thanks