Skip to main content

paymeuz

Project description

dj_logo

Introduction

this package helps to integrate payme.uz and your application is built on django.

Installation

Use the package manager pip to install.

pip install requests
pip install djangorestframework
pip install paymeuz

Usage

# settings.py

INSTALLED_APPS = [
     ... 
    'paymeuz',
    'rest_framework',
     ...
]

PAYME_SETTINGS = {
    'DEBUG':True,   #True - test, False - production
    'ID':'',  
    'SECRET_KEY':'',
    'ACCOUNTS':{
        'KEY_1':'order_id',
        'KEY_2':'',
    }
}

# urls.py

urlpatterns = [
    ...
    path('api/payme/',include('paymeuz.urls'))
]

Get started

python manage.py migrate
python manage.py runserver

Documentation

  • payme.uz docs
  • django-rest-framework docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paymeuz-0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

paymeuz-0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file paymeuz-0.2.tar.gz.

File metadata

  • Download URL: paymeuz-0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for paymeuz-0.2.tar.gz
Algorithm Hash digest
SHA256 1152ec2de1a30cdd509f8bd45792d101f6271bc6626b79f11b87d6be3e69f676
MD5 c7193b2e3feb8c4b692660a869643918
BLAKE2b-256 8167c5f4279caaebf84f8635d1b2fbab04f1afb7536a9008ab90d399d2e45fe1

See more details on using hashes here.

File details

Details for the file paymeuz-0.2-py3-none-any.whl.

File metadata

  • Download URL: paymeuz-0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for paymeuz-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4ad250aee85dc209ea2e1ab52a92d0603aff9f7b72641f82583e1f083596869
MD5 6c9e6c5b2fc4537838eb5422afbf6de3
BLAKE2b-256 6b3db60d4135db809e289f87b9e675e9a918674efa75894b5c3f2b1d628e526c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page