-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Labels
Bug reportIndicates that issue has been marked as a possible bug by its creatorIndicates that issue has been marked as a possible bug by its creatordo not stale
Description
Description
When creating the client the SessionAuthentication baseUrl is initialised incorrectly
Steps to reproduce
For the Java lib, The -test value is replaced by -prod in the URL when creating the client to make requests to the Adyen API LIVE.
This works well for the API used to generate a form session because the base URL is https://checkout-test.adyen.com/v71, where -test is present.
However, for some API, like https://test.adyen.com/authe/api/v1 “-test” is not here, so this peace of code does not work. Merchants need to switch to LIVE url manually.
See logic in Service class
Actual behavior
No response
Expected behavior
Live url is initiaalised correctly
Code snippet or screenshots (if applicable)
No response
Adyen Java API Library version
40.0.0
Java version
21
Operating System
Windows
Additional context
No response
Metadata
Metadata
Assignees
Labels
Bug reportIndicates that issue has been marked as a possible bug by its creatorIndicates that issue has been marked as a possible bug by its creatordo not stale