Skip to content

Fix: correct handling on LIVE prefix #1617

Merged
gcatanese merged 1 commit into
mainfrom
port-fix-prefix-url
Jan 26, 2026
Merged

Fix: correct handling on LIVE prefix #1617
gcatanese merged 1 commit into
mainfrom
port-fix-prefix-url

Conversation

@gcatanese

Copy link
Copy Markdown
Contributor

This pull request corrects the validation for the liveEndpointUrlPrefix to ensure it's only required for specific service URLs in the LIVE environment. It significantly expands the test coverage for the Service class, particularly around URL construction logic for different Adyen services and environments.

This is a cherry-pick from #1616:

  • Corrected liveEndpointUrlPrefix validation logic. The prefix is now strictly required only for Live environment calls to pal- and checkout- services, preventing unnecessary errors for other service types.
  • Significantly increased unit testing within service.spec.ts.

@gcatanese gcatanese requested review from a team as code owners January 26, 2026 13:02
@gcatanese gcatanese added the Fix Fix label Jan 26, 2026
@gcatanese gcatanese merged commit e002c01 into main Jan 26, 2026
4 checks passed
@gcatanese gcatanese deleted the port-fix-prefix-url branch January 26, 2026 13:27
This was referenced Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants