A common library for provide payment gateway for Tabby Payment.
Project description
Tabby Redirect View
This app provides order related data to the Tabby payment extension when plugged-in to project zero.
Installation
Add the package to requirements.txt file and install it via pip:
tabby-payment
Adding App
Add the following lines in omnife_base.settings
:
INSTALLED_APPS.append('tabby_payment')
TABBY_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/tabby/', include('tabby_payment.urls')),
]
Running Tests
python -m unittest discover
Python Version Compatibility
This package is compatible with the following Python versions:
- Python 3.8
- Python 3.9
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tabby_payment-1.0.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file tabby_payment-1.0.0.tar.gz
.
File metadata
- Download URL: tabby_payment-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56ae900592a657a74fcc055f9c66e216b694142b33034f46a6c7dc513042813 |
|
MD5 | cf8a11fc6fddddf7f6cefeb5e89e77d6 |
|
BLAKE2b-256 | e6dce953e8f69ec30ee400617490cfd02dfa9609f95c867888d183e9b5bcabe1 |
File details
Details for the file tabby_payment-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tabby_payment-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6466059f6b383f7e06b09ab13340edaf0671b965a7063af7b97a5be679701103 |
|
MD5 | 5b5f2d3f108e1851a457cac7830dc69a |
|
BLAKE2b-256 | 3b05ecb2f7a2ea0586f40f69b4dee3c0fdd62ce39d373d2f63d31fcc6e52bb3a |