Skip to main content

A library to provide payment gateway for Tamara Payment

Project description

Tamara Payment Redirect View

This app provides order related data to the Tamara Payment extension when plugged-in to project zero.

Installation

Add the package to requirements.txt file and install it via pip:

tamara-payment

Adding App

Add the following lines in omnife_base.settings:

INSTALLED_APPS.append('tamara_payment')
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
TAMARA_EXTENSION_URL = "extension url"

Add url pattern to omnife_base.urls like below:

urlpatterns = [
    ...
    path('payment-gateway/tamara/', include('tamara.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

tamara_payment-1.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

tamara_payment-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file tamara_payment-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for tamara_payment-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d574238d87dd1820f0504f4c82c7c5127f2bfa1c7f6af144ac3b4c2f8577c3e5
MD5 ca83c4a9cfa876234b8169ca00c08bbd
BLAKE2b-256 41b55ea6a39ec0906940fbdd60b15bf5ec9c16d0468b7195d96ce552f1b08261

See more details on using hashes here.

File details

Details for the file tamara_payment-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tamara_payment-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for tamara_payment-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 558f97ee1114637d436fe22ef193a3128772e32d22f32102fdc315d47717cf03
MD5 046f4578166a2449ae551d7fbc9a0817
BLAKE2b-256 f601ed2d5d936f1e4545de2d5536073842e8ee8321c24fc1153e29aaaf1a7ba5

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