Skip to content

🟒 Upay Visa Integration with Python/Django 2022 β€” 11

Notifications You must be signed in to change notification settings

PayTechUz/upay-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

UPay Uzbekistan Integration (Visa, Mastercard, Maestro, MIR)

Support Group - https://t.me/+bYouuOlqt1c3NmYy

Overview

Requirements

  • Python (3.6, 3.7, 3.8, 3.9, 3.10)
  • Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)

Installation

Add 'upay' to your INSTALLED_APPS settings.

INSTALLED_APPS = [
    ...
    'upay',
]

Add 'upay' service configs to your settings.

UPAY_SERVICE: dict = {
    'uclient': {
        'username': 'your-username',
        'password': 'your-password',

        'api_key': 'your-api-key',
        'base_url': 'api-base-url',
        'notify_url': 'your-own-notify-url'
    }
}

Add a URL to urlpatterns:

from django.urls import path, include

urlpatterns = [
    ...
    path('v1/', include('upay.api.v1.urls'))
]

Examples

1 Method partnerRegisterCardIPS