-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add a popover to WooPayments to present all possible payment methods #10167
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +2.48 kB (0%) Total Size: 1.36 MB
ℹ️ View Unchanged
|
Looks good to me, great job @elazzabi! |
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.
Thank you for working on this, Ahmed!
✅ Code changes are looking good!
❌ Hovering over the +10 button displays the logos, but the popup closes when the cursor moves over it. That doesn't happen on WooCommerce -> Settings -> Payments.
Additionally, on a JN site, the logos appear in a single line, whereas they display correctly on the local environment.
@elazzabi also, could you please fix JS linting errors before merging, thanks! |
I'm pretty sure that's because we are using an old
Interesting, I can replicate it. I'm not sure why it's not showing locally 🤔 looking... |
…/woocommerce-payments into add/popover-extra-pms
Fixes #10091
These changes are made to match what we have in Core woocommerce/woocommerce#54404
Changes proposed in this Pull Request
This PR adds a popover to WooPayments presentation to present all possible payment methods
Testing instructions
Force the WCPay plugin to act as disconnected from the Transact Platform Server
Some encountered problems:
Popover
component isn't responding to theplacement
prop. I tried to change it multiple times, but for some reason, it's not working...<img>
tags)npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge