Skip to content

Commit f3627f7

Browse files
committed
add utility api version
1 parent 5e7d9c3 commit f3627f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Adyen/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def _determine_checkout_url(self, platform, service, action,
143143
if action == "paymentsResult":
144144
action = "payment/result"
145145
if action == "originKeys":
146-
api_version = "v1"
146+
api_version = settings.CHECKOUT_UTILITY_API_VERSION
147147

148148
return '/'.join([base_uri, api_version, action])
149149

Adyen/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
BASE_CHECKOUT_URL = "https://checkout-{}.adyen.com"
88
CHECKOUT_URL_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout"
99
CHECKOUT_API_VERSION = "v40"
10+
CHECKOUT_UTILITY_API_VERSION = "v1"
1011
API_VERSION = "v30"
1112
API_RECURRING_VERSION = "v25"

0 commit comments

Comments
 (0)