Skip to content

🟢 Payme/Click Integration 2025 Example (Однаразовый платеж)

Notifications You must be signed in to change notification settings

PayTechUz/shop-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payme One-Time Payment Implementation (Однаразовый платеж)

Support Group - Telegram

This MVP project helps to implement payme-pkg and click-pkg.

API Endpoints

Pay link is a simple interface that provides pay-link functionality.

  • /order/create/ POST: Get a pay link for each order.

Merchant Endpoint

Installation

  1. Clone the repository:
    git clone https://github.com/PayTechUz/shop-backend.git
  2. Create a virtual environment and activate it:
    pip3 install virtualenv
    virtualenv venv
  • For Windows:
    venv\Scripts\activate
  • For Unix-based systems:
    source venv/bin/activate
  1. Change directory into the project:
    cd shop-backend
  2. Install dependencies:
    pip install -r requirements.txt
  3. Set your environment variables:
    cp .env-sample .env
  4. Run:
    python manage.py migrate
    python manage.py runserver