We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f1742 commit 49975acCopy full SHA for 49975ac
Adyen/client.py
@@ -130,7 +130,8 @@ def __init__(
130
131
def _determine_api_url(self, platform, endpoint):
132
if platform == "test":
133
- return endpoint
+ # Replace live with test in base url is configured with live url by default
134
+ return endpoint.replace("-live", "-test")
135
136
if "pal-" in endpoint:
137
if self.live_endpoint_prefix is None:
0 commit comments