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 to requirements.txt file and install it via pip:
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"
HASH_SECRET_KEY = "your-hash-secret-key"
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.3.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for oney_payment-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd542cf5aaff10d50f3c381edffac705c8bf633b2fe531ff88213fefef736002 |
|
MD5 | 234f9e78836c13f6944209d78afb4078 |
|
BLAKE2b-256 | 4f0c65a630e95a612ae5dd6559d382dd070e5567b0168d2e0b21efce383da82c |