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"

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.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

oney_payment-1.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oney-payment-1.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for oney-payment-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2dfbc28b4ad5068b2cf0e849c8fe63f543bfcd551468ad6ea85ba3c31c7b71a8
MD5 516b9b833c18bc5362897ee923d70ae7
BLAKE2b-256 3abd04b680a0ec3fad3b7c13d5cc2d678eabbd02937fbb54449023de629670fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oney_payment-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 449387fc634fd2067734a0969d037182b063a302329f5059e76a4d87cd22f75e
MD5 a1d465b0bccfbf5c76fac461f5e4928c
BLAKE2b-256 92bfada04a1dfa332fee947911f754f763cc3f3475ddaee22629ebb4dd6e901a

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