Skip to content

Commit c53479c

Browse files
author
Richard deMeester
committed
Fix incorrect detection of paymentsRefunds action
1 parent 3292133 commit c53479c

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)