-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
return string
adyen-python-api-library/Adyen/client.py
Line 426 in 91b02d8
| return raw_response |
and here return object
adyen-python-api-library/Adyen/client.py
Line 434 in 91b02d8
| return AdyenResult(message=response, status_code=status_code, |
This method should not return multiple object types, it should return AdyenResponse only or raise an exception
Use case:
if you will try to authorize this card: 3569 9900 1009 5841
then method will return string
if you will try to authorize 2223 0000 4841 0010 with cvc 7371
then method will raise an exception
if you will try to authorize 2223 0000 4841 0010 with valid cvc (737)
then AdyenResponse object will be returned.
Metadata
Metadata
Assignees
Labels
No labels