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_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

tamara_payment-1.0.1.tar.gz (7.4 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.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tamara_payment-1.0.1.tar.gz
  • Upload date:
  • Size: 7.4 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.1.tar.gz
Algorithm Hash digest
SHA256 61d0829eb5348bf4911b194fe3c70c6e3d12eb8cccce6c61f83ff8b4a91da208
MD5 c285d8f314ea5c376d180d2667340d40
BLAKE2b-256 a5ae86395238f7a333851120819d2fadfb92f08c042a232869721244d951bc65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tamara_payment-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba0262e898b13872aba0ec5a4af896524f1a3efb9ec1b7e19a4d8aa90c802cf1
MD5 00024b0d7ef24049a9e678895d31f17b
BLAKE2b-256 5e11745e0a53c6189169784882ab484099dbc52a6c5c56d87b536389516e5938

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