diff --git a/README.md b/README.md
index 3394eb1..5e46eed 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,21 @@
# MTN MoMo API Python Client
-Power your apps with our MTN MoMo API
+
+**🛑 This repository is no longer actively maintained.**
+
+As of July 14, 2025, this project is no longer under active development. This means:
+* No new features will be added.
+* Bugs will not be fixed.
+* Pull requests will not be reviewed or merged.
+* Issues will not be addressed.
+
+We appreciate your interest and contributions.
+**Thank you.**
+
+
Join our active, engaged community:
Website
@@ -55,7 +69,7 @@ These are the credentials we shall use for the sandbox environment. In productio
Before we can fully utilize the library, we need to specify global configurations. The global configuration must contain the following:
* `BASE_URL`: An optional base url to the MTN Momo API. By default the staging base url will be used
-* `ENVIRONMENT`: Optional enviroment, either "sandbox" or "production". Default is 'sandbox'
+* `ENVIRONMENT`: Optional environment, either "sandbox" or "production". Default is 'sandbox'
* `CALLBACK_HOST`: The domain where you webhooks urls are hosted. This is mandatory.
Once you have specified the global variables, you can now provide the product-specific variables. Each MoMo API product requires its own authentication details i.e its own `Subscription Key`, `User ID` and `User Secret`, also sometimes refered to as the `API Secret`. As such, we have to configure subscription keys for each product you will be using.
@@ -106,7 +120,7 @@ client = Collection({
1. `requestToPay`: This operation is used to request a payment from a consumer (Payer). The payer will be asked to authorize the payment. The transaction is executed once the payer has authorized the payment. The transaction will be in status PENDING until it is authorized or declined by the payer or it is timed out by the system. Status of the transaction can be validated by using `getTransactionStatus`.
-2. `getTransaction`: Retrieve transaction information using the `transactionId` returned by `requestToPay`. You can invoke it at intervals until the transaction fails or succeeds. If the transaction has failed, it will throw an appropriate error.
+2. `getTransactionStatus`: Retrieve transaction information using the `transactionId` returned by `requestToPay`. You can invoke it at intervals until the transaction fails or succeeds. If the transaction has failed, it will throw an appropriate error.
3. `getBalance`: Get the balance of the account.
@@ -140,7 +154,7 @@ You can create a disbursements client with the following
```python
import os
-from mtnmomo.collection import Disbursement
+from mtnmomo.disbursement import Disbursement
client = Disbursement({
"DISBURSEMENT_USER_ID": os.environ.get("DISBURSEMENT_USER_ID"),
@@ -163,7 +177,7 @@ client = Disbursement({
```python
import os
-from mtnmomo.collection import Disbursement
+from mtnmomo.disbursement import Disbursement
client = Disbursement({
"DISBURSEMENT_USER_ID": os.environ.get("DISBURSEMENT_USER_ID"),
diff --git a/src/mtnmomo/client.py b/src/mtnmomo/client.py
index fdeee8f..2740009 100644
--- a/src/mtnmomo/client.py
+++ b/src/mtnmomo/client.py
@@ -99,7 +99,6 @@ def request(self, method, url, headers, post_data=None):
def interpret_response(self, resp):
rcode = resp.status_code
rheaders = resp.headers
- print(resp)
try:
rbody = resp.json()
@@ -163,7 +162,6 @@ def getTransactionStatus(
"Ocp-Apim-Subscription-Key": subscription_key
}
_url = self.config.baseUrl + url + transaction_id
- print(_url)
res = self.request("GET", _url, headers)
return res.json()
@@ -192,5 +190,4 @@ def generateToken(
def close(self):
if self._session is not None:
- print("closing!")
self._session.close()
diff --git a/src/mtnmomo/config.py b/src/mtnmomo/config.py
index 7376814..60c6912 100644
--- a/src/mtnmomo/config.py
+++ b/src/mtnmomo/config.py
@@ -18,7 +18,7 @@ def __init__(self, conf):
REMITTANCE_USER_ID: os.environ.get("REMITTANCE_USER_ID"),
REMITTANCE_API_SECRET: os.environ.get("REMITTANCE_API_SECRET"),
- REMITTANCE_PRIMARY_KEY: os.envieon.get("REMITTANCE_PRIMARY_KEY")
+ REMITTANCE_PRIMARY_KEY: os.environ.get("REMITTANCE_PRIMARY_KEY")
DISBURSEMENT_USER_ID: os.environ.get("DISBURSEMENT_USER_ID"),
DISBURSEMENT_API_SECRET: os.environ.get("DISBURSEMENTS_API_SECRET"),
diff --git a/src/mtnmomo/disbursement.py b/src/mtnmomo/disbursement.py
index 6d71deb..4472b95 100644
--- a/src/mtnmomo/disbursement.py
+++ b/src/mtnmomo/disbursement.py
@@ -58,6 +58,5 @@ def transfer(
if kwargs.get("callback_url"):
headers["X-Callback-Url"] = kwargs.get("callback_url")
url = super(Disbursement, self).config.baseUrl + "/disbursement/v1_0/transfer"
- print(url)
self.request("POST", url, headers, data)
return {"transaction_ref": ref}