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.1.0.tar.gz (7.1 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.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yoomoney_payment-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1fe913a2ceb23b455813cb73e0cfe901cd3c4dd2eec732963b5d15b99c28b5bc
MD5 24c31c13a71a9ca256879b48f405100c
BLAKE2b-256 e3f713449adb03d02959c53fb3e3476f630899026af0b2e805f98f5be6e91a53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yoomoney_payment-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a54d48a581125b56c94d9f322766df814b1a77f2dfe7de58af5a08108b08f499
MD5 633ed4e7bbb1c4701f1d4e8c602345c6
BLAKE2b-256 8c50c798a0574bd6de0515f72bfb6bd8b29da4a4ed157deb07def7e628d9f963

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