Skip to content

Commit 7e50bc1

Browse files
authored
Merge pull request #172 from richard-willdooit/paymentsrefunds_action_fix
Fix incorrect detection of paymentsRefunds action
2 parents 3292133 + c53479c commit 7e50bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adyen/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def _determine_checkout_url(self, platform, action, path_param=None):
197197
action = f"/payments/{path_param}/captures"
198198
if action == "paymentsReversals":
199199
action = f"payments/{path_param}/reversals"
200-
if action == "payments/Refunds":
200+
if action == "paymentsRefunds":
201201
action = f"payments/{path_param}/refunds"
202202
if action == "originKeys":
203203
api_version = self.api_checkout_utility_version

0 commit comments

Comments
 (0)