Skip to main content

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"
GARANTIPAY_EXTENSION_URL = "" put extension form page url 

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
  • Python 3.13

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

garantipay_payment-2.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

garantipay_payment-2.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file garantipay_payment-2.0.0.tar.gz.

File metadata

  • Download URL: garantipay_payment-2.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for garantipay_payment-2.0.0.tar.gz
Algorithm Hash digest
SHA256 40df6cf94fa365951d06d8d4e813aaf0e1b8185fd68c3a3fd3aadd12311033e4
MD5 9111aa7b4e4a7b8088746805f558406c
BLAKE2b-256 204117c6027392a3610d5a37b158c39f573cdcbff6a00308ef64c28b549790d5

See more details on using hashes here.

File details

Details for the file garantipay_payment-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for garantipay_payment-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2505e66e245aa4a83cba515f06f1d6467f7d0138bb9fb3485989b7e4efa9cde
MD5 3cf9e541169295f5d9bf054af3444738
BLAKE2b-256 549b94830a67e9f92f5071b9b29017a0953c5564856a064b63cf39512175416b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page