Metadata-Version: 2.1
Name: O_money
Version: 0.0.7
Summary: This Package is created with the aim of facilitating the integration of web payment by orange money into python projects
Home-page: https://github.com/ddicko/O_money
Author: Ibrahim Bilaly DICKO
Author-email: dicko.dev@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: python-dotenv
Requires-Dist: requests

# 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**

```python
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)

```
