-
Notifications
You must be signed in to change notification settings - Fork 47
Release 5.1.0 #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 5.1.0 #139
Conversation
* Add orders, orders cancel, payment methods balance endpoints * Fix pycodestyle * Add paymentmethods balance test and remove order from application info list * Correct test
def test_checkout_api_url_orders(self): | ||
self.client.live_endpoint_prefix = None | ||
url = self.adyen.client._determine_checkout_url("test", | ||
"orders") | ||
self.assertEqual(url, "https://checkout-test.adyen.com" | ||
"/v67/orders") | ||
|
||
def test_checkout_api_url_order_cancel(self): | ||
self.client.live_endpoint_prefix = None | ||
url = self.adyen.client._determine_checkout_url("test", | ||
"ordersCancel") | ||
self.assertEqual(url, "https://checkout-test.adyen.com" | ||
"/v67/orders/cancel") | ||
|
||
def test_checkout_api_url_order_payment_methods_balance(self): | ||
self.client.live_endpoint_prefix = None | ||
url = self.adyen.client._determine_checkout_url("test", | ||
"paymentMethods" | ||
"Balance") | ||
self.assertEqual(url, "https://checkout-test.adyen.com""/v67/" | ||
"paymentMethods/balance") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will these test fail when we move to >v67? Is it possible to make the version variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and we update them every time. It is a good idea to make a variable for them indeed
Description
#138 [PW-4046] Add Order API
#137 Add support for adjustAuthorisation verb (with a test)
Tested scenarios
Fixed issue: