-
Notifications
You must be signed in to change notification settings - Fork 216
fix(payments-next):Applied coupon code before sign-in does not remain on checkout page after signing in #18943
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
Conversation
fc4cc90 to
cb3141a
Compare
53d1202 to
a08aa98
Compare
cc25bc3 to
c295ff7
Compare
1fd28b3 to
c9672c3
Compare
e7309cd to
dc63509
Compare
78f270a to
226e88d
Compare
177b99e to
c36ad41
Compare
c36ad41 to
a65e325
Compare
StaberindeZA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc. Just a few small changes, but this looks good to me.
| fxaUid | ||
| let cart: ResultCart; | ||
|
|
||
| if (searchParams.cartId && fxaUid) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit. should this include cartVersion as well?
apps/payments/next/app/[locale]/[offeringId]/[interval]/checkout/[cartId]/start/page.tsx
Show resolved
Hide resolved
9f95074 to
971e855
Compare
| redirectToUrl.searchParams.delete('countryCode'); | ||
| redirectToUrl.searchParams.delete('postalCode'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be removed now, or do they need to remain here?
… on checkout page after signing in Because: * Before signing in, a valid coupon was applied to the subscription. However, after signing in, the coupon is no longer on the subscription. This commit: * Closes #FXA-11344
971e855 to
03452c3
Compare
Because
This pull request
Issue that this pull request solves
Closes: #FXA-11344
Checklist
Put an
xin the boxes that applyScreenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.
Other information (Optional)
Any other information that is important to this pull request.