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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oney_payment-1.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oney_payment-1.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for oney_payment-1.1.0.tar.gz
Algorithm Hash digest
SHA256 711c8eee154a203bfa34b56ce747d4af26a5d7d99820edf6f08e81fb634223a6
MD5 c790472c05e040836417e33bdb4f24a7
BLAKE2b-256 10bfad280589976a83f150fd6d168052a364c35c4dd0266ae78ee483dea3ec80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oney_payment-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for oney_payment-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1918407ebd954193b99973c5953c36bb620c29e600c014f113634a3f83939da
MD5 b140b75908d11ce054b10d7549bb817c
BLAKE2b-256 a7eb12d712db1cae78cf42701662021c4bc69b4e81e466b568df9996ca7b1131

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