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.5.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file oney_payment-1.0.5.tar.gz
.
File metadata
- Download URL: oney_payment-1.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1aba2e50a42f625d5d67c7fd2959ef7830083246e9e00b6f61ebba576d479f |
|
MD5 | b42e38a1f31783b7b048876cc987311e |
|
BLAKE2b-256 | cdafe45d283a7168f6eb07c97d8ced83f836ce9ed55806d6185c4ce6d2e00a7d |
File details
Details for the file oney_payment-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: oney_payment-1.0.5-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f1ba882b68363f06216ed62a7df2debc4f5216ca2a291f82d78aee3f9a5d732 |
|
MD5 | 19e4fab9b2cf954208681cd3cf729fcc |
|
BLAKE2b-256 | 4dd72b62236e0830127ce69895d13148006ed43f39e33ad08315790a81aa52f2 |