-
Couldn't load subscription status.
- Fork 47
Closed
Description
Describe the bug
According to Adyen documentation here live endpoint URLs for payments should be of this format:
https://[random]-[company name]-pal-live.adyenpayments.com/pal/servlet/Payment/[version]/[method]
Checking "API URLs and Responses" configuration in Adyen live account, I see that live endpoint URLs indeed follow this pattern.
However, the Adyen client produces the following URL:
To Reproduce
from Adyen import AdyenClient
AdyenClient._determine_api_url(platform='live', service='Payment', action='refund')
u'https://pal-live.adyen.com/pal/servlet/Payment/v49/refund'
Expected behavior
Adyen library uses live_endpoint_prefix parameter to correctly format payments live endpoint URLs.
Additional context
LIB_VERSION = "3.0.0"
LIB_NAME = "adyen-python-api-library"
Metadata
Metadata
Assignees
Labels
No labels