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
Release history Release notifications | RSS feed
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.9.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file o_money-0.0.9.tar.gz
.
File metadata
- Download URL: o_money-0.0.9.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e346d691fa05466ecee922a644bc59f0465517715bd333d3fd16a61685018dc |
|
MD5 | 80dfa610c3f423caf2b307bcf41297f4 |
|
BLAKE2b-256 | c8c49959ebf515a8d98b1fe6f2d2e5dbc37206b0298e31836b326169ec10c81f |
File details
Details for the file O_money-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: O_money-0.0.9-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac7dafef7575b51e4e35deb4771bd60f6d58eb280dea020b46045a91774d1d7 |
|
MD5 | f6bfa89ffafc85ea8e97e6427bc4a80d |
|
BLAKE2b-256 | 12b170f58fc0fe9ed6f331f7b95f758c20909947e4273ce8685a18f39a7402bb |