Support Group - https://t.me/+bYouuOlqt1c3NmYy
- 1 - clone repo https://github.com/PayTechUz/upay-pkg.git
-
- add this app into your django project
-
- install all requirements packages
- Python (3.6, 3.7, 3.8, 3.9, 3.10)
- Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)
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'))
]
1 Method partnerRegisterCardIPS