Skip to main content

A common library for providing order details to Oney Payment Gateway.

Project description

Oney Redirect View

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

Installation

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

oney-payment

Adding App

Add the following lines in omnife_base.settings:

INSTALLED_APPS.append('oney_payment')
ONEY_EXTENSION_URL = 'https://extension-url.akinon.net/'
PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"

Add url pattern to omnife_base.urls like below:

urlpatterns = [
    ...
    path('payment-gateway/oney/', include('oney_payment.urls')),
]

Running Tests

python -m unittest discover

Python Version Compatibility

This package is compatible with the following Python versions:

  • Python 3.6
  • Python 3.7
  • 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

oney-payment-1.0.6.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

oney_payment-1.0.6-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file oney-payment-1.0.6.tar.gz.

File metadata

  • Download URL: oney-payment-1.0.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for oney-payment-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8a39040a8800dd6ce250009c457b656d87a62188ea8c1a1368fc737f5355d267
MD5 f93c25268965a259c2bbe77ca95dc04d
BLAKE2b-256 7e0f4ecbe679f12cd3bba979d244ea3cdbd5b1d5c74afba23c5b2fbc94c6d185

See more details on using hashes here.

File details

Details for the file oney_payment-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for oney_payment-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a639283afb9f3b3291ea836ba84228af430b49b3f6eb2d02375f3cd537c52ad2
MD5 acab33e3d73c75adec45a1a8cb0b5d54
BLAKE2b-256 e90b12006443d02adb11e13385a610588c2e602bef1e97e61892cf7c0b0d708a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page