-
Notifications
You must be signed in to change notification settings - Fork 216
Fix payment method instructions for OC #4575
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
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.
@malithsen that's strange. I just tested it again, both shortcode and blocks, and it works just fine for me 🤔 . Did you try to rebuild the frontend files? And clear the cache for the browser? |
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.
NVM, I see it above the payment methods! |
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.
Works as described for me!
@wjrosa I still have the issue. I noticed that it only happens when I am testing as a logged in customer. For guest users, test instructions show up as expected. |
@malithsen can you rebuild, clear your cache, and try again, please? I did fix the |
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 you rebuild, clear your cache, and try again, please?
After rebuilding and clearing cache I was still seeing it. I then uploaded a build of this branch to a JN site, and test instructions show up as expected for both logged-in and guest users, so as you said, this is likely a caching issue on my local setup.
Fixes STRIPE-665
Changes proposed in this Pull Request:
This simple PR fixes the test payment method instructions not showing up when Optimized Checkout is enabled. When I updated the class name in the CSS file here, I broke the display of the instructions. The fix consists of simply checking if the
.content
paragraph we want to hide is the correct one (the empty one).Testing instructions
fix/payment-method-instructions-for-oc
)Changelog entry
Changelog Entry Comment
Comment
Post merge