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.4.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file o_money-0.0.4.tar.gz
.
File metadata
- Download URL: o_money-0.0.4.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 | 187717790dc1878ae767346960f72d786ffc29e032ec3323c74f34201b39531e |
|
MD5 | dba09fc06b31869afbbe458b79716510 |
|
BLAKE2b-256 | e487e43a546b0613dd4f83c73893d2b93b09e97c4c1fcc63f13e45b96d28c076 |
File details
Details for the file O_money-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: O_money-0.0.4-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 | 6c178d1bcefc8c000c50487f2e30ea1b096a52fe1853b637c7396941a2fda374 |
|
MD5 | 5f92cd30a4700cd118fd7ca0fde846d6 |
|
BLAKE2b-256 | ab02b8ddd95f9059479b30d15b878f8253eb76021cebb7d9ea2c7f31f20308e0 |