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"

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


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-1.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

garantipay_payment-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for garantipay_payment-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e1ebc334f8c52aec2ad173b11b0268005aba2c2a825ee2bbbd2e15107eaa1ddc
MD5 9d9c04ec19a44e70139d2f0ddc647452
BLAKE2b-256 09e361a72de5dc07483c7da98f75ee0381b34f2c286ea022d0cd3ec93d5da8db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for garantipay_payment-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6de6e0cb11fb05f00f745547bb83d6f0889ed9ff8aefd6c7343bad749b09f1
MD5 e636cb4fb102fc5f663817edec2b7f12
BLAKE2b-256 272cde87a0f9d1e7c8af789d4900f4c7e94931788df750d540094f2e814b86dd

See more details on using hashes here.

Supported by

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