fix(ras-acc): remove check to prevent credit card field reset #3413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
This check was originally added as part of #3330; my best guess is that additional changes have made this check unnecessary, but I could just be missing a certain case!
Note: There's a similar issue with apply a coupon after filling in the credit card information first, so this could be related in general to the use of
update_checkout
somehow. I'm still trying to puzzle that one out, but it's a much less likely order to have filled the form out in.See: 1207817176293825-as-1208255803261156
How to test the changes in this Pull Request:
epic/ras-acc
branch as a new, not registered reader, make a One Time donation.a. As a new reader with no saved billing details/payment information, trigger modal checkout via any donation block (recurring donation to guarantee the transaction details table appears)
b. Proceed through the checkout flow until you get to the payment information step. Scroll down to see the Transactions details table.
c. Confirm that it's not greyed out (blocked).
d. Smoke test the checkout modal in various other contexts (checkout buttons with tax/shipping/coupons/nyp/etc. setup, one-time donations, etc.)
Other information: