Skip to content

🔵 Click Integration Sample with Python/Django 2023 — 10

Notifications You must be signed in to change notification settings

PayTechUz/click-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔵 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

About

🔵 Click Integration Sample with Python/Django 2023 — 10

Topics

Resources

Stars

Watchers

Forks

Languages