-
Notifications
You must be signed in to change notification settings - Fork 206
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
Remove duplicate banner #3562
base: develop
Are you sure you want to change the base?
Remove duplicate banner #3562
Conversation
…is not about the same
Does this affect only the Payment Methods tab, or both Payment Methods and Settings tabs? |
@aheckler only the payment methods tab. |
<GeneralSettingsSection | ||
onSaveChanges={ onSaveChanges } | ||
showLegacyExperienceTransitionNotice={ | ||
promotionalBannerType !== 'new-checkout-experience' |
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.
Maybe it is worth moving new-checkout-experience
(and the other types) to constants.
Thanks for this fix, @Mayisha ! I am getting the following error when I enable the legacy checkout: |
Fixes #3561
When the legacy checkout is enabled, 2 different banners are displayed with a similar message.
Changes proposed in this Pull Request:
Showing 'LegacyExperienceTransitionNotice' only when the promotional banner is not about the same.
Testing instructions