Skip to content

Commit f437334

Browse files
fixed positional error in account validate
1 parent 48344b2 commit f437334

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

rave_python/rave_account.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ def charge(self, accountDetails, hasFailed=False):
5757

5858
return super().charge(feature_name, accountDetails, requiredParameters, endpoint)
5959

60+
def validate(self, flwRef, otp):
61+
endpoint = self._baseUrl + self._endpointMap['account']['verify']
62+
feature_name = "Account-charge-verify"
63+
return super().validate(feature_name, flwRef, endpoint)
64+
6065
def verify(self, txRef):
6166
endpoint = self._baseUrl + self._endpointMap['account']['verify']
6267
feature_name = "Account-charge-verify"
63-
return super().verify(feature_name, txRef, endpoint)
68+
return super().verify(feature_name, txRef, endpoint)

rave_python/rave_card.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,3 @@ def verify(self, txRef):
124124
feature_name = "Verify-Card-charge"
125125
endpoint = self._baseUrl + self._endpointMap["card"]["verify"]
126126
return super(Card, self).verify(feature_name, txRef, endpoint)
127-
128-
129-
130-
131-
132-

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

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

0 commit comments

Comments
 (0)