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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file oney_payment-1.0.4.tar.gz.

File metadata

  • Download URL: oney_payment-1.0.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for oney_payment-1.0.4.tar.gz
Algorithm Hash digest
SHA256 1de7466ec928e52e698538cbed5779353694358d991702e4d37f34ae6e7e5931
MD5 5d589562100a1535c017ea7bc352ae20
BLAKE2b-256 33f61138dca77a0c7281482d2f5e47b3a158c055b1d9116f559e253d013e0c98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oney_payment-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 81c7056ac1b98814bac00ae963ca72228804482ca7c6b60e2f4f63d998eb5593
MD5 25a9641b719d0a39472ac007e0b5b799
BLAKE2b-256 f11de618373b3180700a492af5ad2cdfeb23e599a7f3d087640629c069c6c93d

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