-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/v6 mandatory country code with redirects #2558
Conversation
|
Size Change: +5 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
size-limit report 📦
|
Quality Gate passedIssues Measures |
Summary
Fixed issue with mandatory
countryCode
,/sessions
and redirects. For sessions you only ever have to specifycountryCode
the first time you initialise CheckoutThe only issue is with the manual, non-sessions flow - if you handle the redirect by making a new instance of Checkout, instead of just making a
/details
call, then you have to specify thecountryCode
. This is how our playground example currently works.Tested scenarios
Redirect in /sessions does not generate a "missing countryCode" error
Relates to issue: #2540