Skip to content

Commit d19efd0

Browse files
updated network for Zambia Mobile Money
1 parent 3745bf2 commit d19efd0

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

rave_python/rave_base.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def __init__(self, publicKey=None, secretKey=None, production=False, usingEnv=Tr
88

99
# config variables (protected)
1010
self._baseUrlMap = ["https://ravesandboxapi.flutterwave.com/", "https://api.ravepay.co/"]
11-
self._trackingMap = "https://kgelfdz7mf.execute-api.us-east-1.amazonaws.com/staging/sendevent"
1211
self._endpointMap = {
1312
"bills": {
1413
"create":"v2/services/confluence",

rave_python/rave_bills.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def __init__(self, publicKey, secretKey, production, usingEnv):
1010
}
1111
super(Bills, self).__init__(publicKey, secretKey, production, usingEnv)
1212

13+
1314
def _preliminaryResponseChecks(self, response, TypeOfErrorToRaise, name):
1415
#check if we can get json
1516
try:

rave_python/rave_exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __str__(self):
169169
return self.type +"ing recepient failed with error: " + self.err["errMsg"]
170170

171171
class RefundError(RaveError):
172-
""" Raised when refund fails """
172+
""" Raised when refund fails """IN
173173
def __init__(self, message):
174174
msg = "Your refund call failed with message: "+str(message)
175175
super(RefundError, self).__init__(msg)

rave_python/rave_zbmobile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def charge(self, accountDetails, hasFailed=False):
1919
endpoint = self._baseUrl + self._endpointMap["account"]["charge"]
2020

2121
# It is faster to add boilerplate than to check if each one is present
22-
accountDetails.update({"payment_type": "mobilemoneyzambia", "country":"NG", "is_mobile_money_ug":"1", "currency":"ZMW", "network": "MTN"})
22+
accountDetails.update({"payment_type": "mobilemoneyzambia", "country":"NG", "is_mobile_money_ug":"1", "currency":"ZMW"})
2323

2424
# If transaction reference is not set
2525
if not ("txRef" in accountDetails):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="rave_python",
8-
version="1.2.13",
8+
version="1.2.14",
99
author="Flutterwave",
1010
author_email="[email protected]",
1111
description="Official Rave Python Wrapper By Flutterwave",

0 commit comments

Comments
 (0)