A library to provide payment gateway for GarantiPay 2.0
Project description
Garantipay 2.0 Redirect View
This app provides order related data to the Garantipay 2.0 payment extension when plugged-in to project zero.
Installation
Add the package to requirements.txt file and install it via pip:
garantipay-payment
Adding App
Add the following lines in omnife_base.settings
:
INSTALLED_APPS.append('garantipay_payment')
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
PRODUCT_KIND_ATTRIBUTE_NAME = "product_kind"
Add url pattern to omnife_base.urls
like below:
urlpatterns = [
...
path('payment-gateway/garantipay/', include('garantipay_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
Built Distribution
Close
Hashes for garantipay_payment-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10b68e25b82305030fac53a6bff70259bf81955994105089a2612caf3e24ae05 |
|
MD5 | b101e98efe68fc82e2b2b4144326718b |
|
BLAKE2b-256 | b7b76108b19cbd9e580a49dd4eb79a69848132b1a11d34eb8cd734a52cf97bd0 |