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<br>
## import logging<br>
## l = logging.Logger("test") <br>
## webpay = o_webpay.Webpay(logger=l)<br>
## response = webpay.init_pay(amount=2500, order_id="5f64v", reference="154f5", lang="us")<br>
## 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.5.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file o_money-0.0.5.tar.gz
.
File metadata
- Download URL: o_money-0.0.5.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 | ae9507e32d285f53ed9ce14b55a46f46904c4c9e0ddf491d02b68f31335db5f8 |
|
MD5 | cbdc0ebaa983f9420150770fd24be834 |
|
BLAKE2b-256 | e673b08cda5d982238132d456549fbb2e3993bac0887d41d0f3b39214ba4abae |
File details
Details for the file O_money-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: O_money-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.9 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 | 066c86d4b63dcb3639df448e3c255bb25028ebf1a064138a057803f22d136e2f |
|
MD5 | 22915163f026ae7d5cd99289a70d18be |
|
BLAKE2b-256 | 5ec688f04ee29ffeac8a20242ee3c2b1bc498fd027923ddb9d42cdfa021d7be4 |