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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: o_money-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 0c991c699461678986464c6663e7d01ab15e3f09fa2f62c3946b376e959a6ccb
MD5 707ea8faf8fcaec1879e339b2ae8291a
BLAKE2b-256 1cd43995ccad5c4fb8e3f1492d6b8dd49e2e6fad1e49ca3e9a4eb6e481f1c9b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: O_money-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6e483813db6f974bf69d9d2b27037e5803ff184c129e902a79e0d4fd874a8698
MD5 f79195deb1e813d7f2b1c21e201d20c7
BLAKE2b-256 cd8a4c5415a560785865fcb3eda2d6654d5bcb8f46d76b314712c8305686172d

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