Skip to content

Commit 2f7c78c

Browse files
[PW-4265] Bump checkout api version to v67 (#134)
* update checkout version to 66 * update tests * Correct the settings * Bump checkout api version to v67
1 parent 0f345f3 commit 2f7c78c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Adyen/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ENDPOINT_CHECKOUT_LIVE_SUFFIX = "https://{}-checkout-live" \
88
".adyenpayments.com/checkout"
99
API_BIN_LOOKUP_VERSION = "v50"
10-
API_CHECKOUT_VERSION = "v66"
10+
API_CHECKOUT_VERSION = "v67"
1111
API_CHECKOUT_UTILITY_VERSION = "v1"
1212
API_RECURRING_VERSION = "v49"
1313
API_PAYMENT_VERSION = "v64"

test/CheckoutTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_payments_error_mocked(self):
9191
result = self.adyen.checkout.payments(request)
9292

9393
self.adyen.client.http_client.request.assert_called_once_with(
94-
'https://checkout-test.adyen.com/v66/payments',
94+
'https://checkout-test.adyen.com/v67/payments',
9595
headers={},
9696
json={
9797
'returnUrl': 'https://your-company.com/...',
@@ -134,7 +134,7 @@ def test_payments_details_success_mocked(self):
134134
result = self.adyen.checkout.payments_details(request)
135135

136136
self.adyen.client.http_client.request.assert_called_once_with(
137-
u'https://checkout-test.adyen.com/v66/payments/details',
137+
u'https://checkout-test.adyen.com/v67/payments/details',
138138
headers={},
139139
json={
140140
'paymentData': 'Hee57361f99....',

test/DetermineEndpointTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ def test_checkout_api_url_custom(self):
2121
url = self.adyen.client._determine_checkout_url("live", "payments")
2222
self.client.live_endpoint_prefix = "1797a841fbb37ca7-AdyenDemo"
2323
self.assertEqual(url, "https://1797a841fbb37ca7-AdyenDemo-checkout-"
24-
"live.adyenpayments.com/checkout/v66/payments")
24+
"live.adyenpayments.com/checkout/v67/payments")
2525

2626
def test_checkout_api_url(self):
2727
self.client.live_endpoint_prefix = None
2828
url = self.adyen.client._determine_checkout_url("test",
2929
"paymentsDetails")
3030
self.assertEqual(url, "https://checkout-test.adyen.com"
31-
"/v66/payments/details")
31+
"/v67/payments/details")
3232

3333
def test_payments_invalid_platform(self):
3434

0 commit comments

Comments
 (0)