Metadata-Version: 2.2
Name: tamara_payment
Version: 1.1.0
Summary: A library to provide payment gateway for Tamara Payment
Home-page: https://bitbucket.org/akinonteam/tamara-payment/
Author: Akinon
Author-email: dev@akinon.com
Description-Content-Type: text/markdown
Requires-Dist: Django<4.0,>=2.2.9
Requires-Dist: requests
Requires-Dist: djangorestframework<3.15,>=3.11.0
Requires-Dist: mock==4.0.3
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: summary

# 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
