Skip to main content

This Package is created with the aim of facilitating the integration of web payment by orange money into python projects

Project description

O_money

Introduction

For use Orange Money Web Payment on web.

Installation

The latest version can be obtained from PyPI:

pip install O-money

Usage For use O_money create .env file and define the following variable

_client_id, merchant_key, return_url, cancel_url, notif_url_

Example

from O_money import o_webpay
import logging

l = logging.Logger("test")
webpay = o_webpay.Webpay(logger=l)
response = webpay.init_pay(amount=2500, order_id="5f64v", reference="154f5", lang="us")
print(response)

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

o_money-0.0.6.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

O_money-0.0.6-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file o_money-0.0.6.tar.gz.

File metadata

  • Download URL: o_money-0.0.6.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for o_money-0.0.6.tar.gz
Algorithm Hash digest
SHA256 041faa59ce954438b92735687a9c742df5548a89457bc945cbb9f0efb0cc566b
MD5 a131b3685835d99b4b9290f53195a5d3
BLAKE2b-256 81fad01ce098d932eed0d79efb15a3482c50101bad537b0335914a22f8cbf9dd

See more details on using hashes here.

File details

Details for the file O_money-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: O_money-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for O_money-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4074069b6b4e8eca801311d875d176eea8d34f1f780d1a752931d24f841b909b
MD5 6ae645f435057db46954bde60f435fde
BLAKE2b-256 38d873c091433591571c9ff26d20c74fa707caa539e04fc8280194ba3e65769d

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