A common library for providing order details to Oney Payment Gateway.
Project description
Oney Redirect View
This app provides order related data to the Oney payment extension when plugged-in to project zero.
Installation
Add the package repository to requirements.txt file and install it via pip:
-e git+https://git@bitbucket.org/akinonteam/oney-payment.git@main#egg=oney-payment
Adding App
Add the following lines in omnife_base.settings
:
INSTALLED_APPS.append('oney_payment')
ONEY_EXTENSION_URL = 'https://extension-url.akinon.net/'
PZ_SERVICE_CLASS = "omnife.core.service.Service"
Add url pattern to omnife_base.urls
like below:
urlpatterns = [
...
path('payment-gateway/oney/', include('oney_payment.urls')),
]
Running Tests
python -m unittest discover
Python Version Compatibility
This package is compatible with the following Python versions:
- Python 3.6
- Python 3.7
- Python 3.8
- Python 3.9
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
oney-payment-1.0.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for oney_payment-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0164e5cb719c173df27d4dd5c3f684cc85bac03938100e54039756e683e4a3a1 |
|
MD5 | cf49a5030d2727bb6232ed8c0abf3476 |
|
BLAKE2b-256 | 2d8bda9340922926e96458ee2bc318581a79a408ce0eea4f8fb14df6ddd543d8 |