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
  • Python 3.13

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-2.0.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-2.0.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoomoney_payment-2.0.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-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b5e0d67a6b05d8ae2d77cb1a1f5b250cd609631cb6106db3be50ee040828087c
MD5 7b234fbf17e4bc3a56263ba97870542b
BLAKE2b-256 ffc2fa3bfcb13796fb4407f7f39eff817d88e0ee45c5432ce5078015900cdfc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yoomoney_payment-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53c681e27689c8a6f48f008b0815e71b7fb3e82b4808f27c977d6d2741078d12
MD5 f11097c009ef47ee3b572b9a538301f5
BLAKE2b-256 0dda93c1035c3d702b41aa9980658951848455da1e0dacd4103790ff57863c31

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