Skip to main content

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


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

Uploaded Source

Built Distribution

tabby_payment-1.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tabby_payment-1.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for tabby_payment-1.1.0.tar.gz
Algorithm Hash digest
SHA256 de401e8471c33a5066befc7faa0b58fdd57d0ae4d907e3dcd35673f01384a4af
MD5 83b039963640dc17d40b0f862fb7541f
BLAKE2b-256 2d4444ee81346f764a2c9db03d816281ec3d870db39b9aeb8fac2e23fa0352b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tabby_payment-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for tabby_payment-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0088617fa6ba0f33dfb71d68e5271a8585ba4c782ec3fbf42fd8785f01165d8d
MD5 b3a14362166096a8e7c159ab08423804
BLAKE2b-256 dedf9b78dca7efd53367d6a11a6b5786fe6d476c9cc7a5844f065ce96efceb2d

See more details on using hashes here.

Supported by

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