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.8.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file o_money-0.0.8.tar.gz
.
File metadata
- Download URL: o_money-0.0.8.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 | 0ab874f899b52c60b8396ae6153b2221ba5375d4258191b85ae8500b900cd4b9 |
|
MD5 | 8ae457af104fb23c4b8db5fada07f326 |
|
BLAKE2b-256 | 63dc5a5e079873a56bb0067a9429f9c9b27e0d50b8bf68607dcd42df3896c1f6 |
File details
Details for the file O_money-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: O_money-0.0.8-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 | 991b23d52b423081aa1cffdb4ca6336a57c786833fb2621e726b6ec9b208af67 |
|
MD5 | 02569c127939111b2f1be776ac40bbd6 |
|
BLAKE2b-256 | 119b58aa607affb6f7930d413ac784a4901f8ecfc09ed74f8e436c629df722fe |