Skip to main content

A library to provide payment gateway for YooMoney Payment

Project description

YooMoney Payment Redirect View

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

Installation

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

yoomoney-payment

Adding App

Add the following lines in omnife_base.settings:

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

Add url pattern to omnife_base.urls like below:

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

yoomoney_payment-1.4.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

yoomoney_payment-1.4.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file yoomoney_payment-1.4.0.tar.gz.

File metadata

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

File hashes

Hashes for yoomoney_payment-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3f943aca4e7a7087a2b61be6847c53247740f1963cf782841470daf562ad523e
MD5 2f75c396192e7a979b1092449698b65d
BLAKE2b-256 15b6b9952e3aea0b2bfd48230f5980079cb057d2c998c2b087d3b5da291124d3

See more details on using hashes here.

File details

Details for the file yoomoney_payment-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yoomoney_payment-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5ce290397c299985104193fa74efb03cbfac3826c59ce5f8543f4a250d071b9
MD5 fd336bb4478a0152958a7328e0c83081
BLAKE2b-256 ee0f84d10b37a31b9e0d170c88d6e640ff969dc7555bfb9d288d083c6cd8d690

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