-
Notifications
You must be signed in to change notification settings - Fork 7
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 title, description and gatewayId to the express payment method #213
Conversation
Co-authored-by: Darin Kotter <[email protected]>
QA Update
|
@qasumitbagthariya Hmm, could you double check this or narrow it down a bit? Is it appearing with the latest version of WC? Is it appearing with the feature branch in Woo and with I can't reproduce this, and there's no code changes that should interfere with the rendering of the button here. If you could take another look and narrow it down a little, I would very much appreciate it 🙏 |
I tried to test the latest WooCommerce Version 9.2.3 with PR but Can't find the latest changes. Can you please cross check from your end? Testing Environment
|
Hi @qasumitbagthariya, the work hasn't been released yet so it won't be on WC 9.2.3 yet. I suggested you check with this version to see if there is something else going on other than this branch. Can you please confirm:
I've tried to reproduce this locally but I can't, the square button shows for me. If the problem still exists after you've confirmed the above, can you share more details about your setup? Have you changed any square settings? Enabled any flags? |
I meant, I'm unable to see the changes from this PR with WooCommerce versions 9.2.3, Nightly, and 9.3.0-rc1. |
Yes, as I've said, these changes won't be in any WC release yet, it lives only on the |
QA Update ✅I have verified this PR in the I tested the following on this branch:
Testing Environment
Screen.Recording.2024-09-16.at.10.55.58.PM.movSteps to Test- As mentioned in the PR description.
|
@diegocurbelo this PR is ready for your review! |
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.
Code changes look good to me, and it tests well 🚢
This iready to merge |
Specifically in your PR description screenshot of the content inside "Express payment method. It looks broken and appears to include some unexpected data. Could you clarify why this is showing up on your end? Is this related to testing data or a specific setup during development? Additionally, could you confirm if this is something users might encounter in a real environment? |
This PR ads
title
,description
andgatewayId
props to express payment methods to be displayed in the editor. These are used to display the available express payment methods to a merchant, once they click on the express checkout block.This is parallel work with woocommerce/woocommerce#50791 and the
feature/express-payment-improvements
branch should be used to test. However this should also work with the current release of WC, and can be safely merged and released before the work in Core is released.If these props are no provided, the
name
is used instead and the list will look like this:After this PR, the list should look like this:
The link for the Square payment method should take you to the Square payment settings.
Testing instructions
Changelog entry