Skip to content
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

[Wallet] Google Pay #3655

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

[Wallet] Google Pay #3655

wants to merge 12 commits into from

Conversation

wjrosa
Copy link
Contributor

@wjrosa wjrosa commented Dec 12, 2024

Fixes #2707

Changes proposed in this Pull Request:

This PR introduces Google Pay as new wallet (regular, not an Express Checkout Element) payment method. This new method appears as a tab when selecting the "Credit / Debit Card" option during checkout.

The processing of transactions works just like the ECE version: the same popup appears and the shopper must select a card to pay.

This first PR do not add subscription support.

Testing instructions

  • Checkout and build this branch on your test environment (add/google-pay-wallet-method)
  • As a merchant, connect your Stripe account
  • Confirm you can see Google Pay as a new regular payment method in settings (wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods):
    Screenshot 2024-12-13 at 09 48 42
  • Enable the payment method
  • As a shopper, access the test store from a public-acessible address using Chrome
  • Add any product to your cart
  • Go to checkout (both block and shortcode) and confirm you can see Google Pay when selecting the "Credit / Debit Card" option
    Screenshot 2024-12-13 at 09 50 10
  • Confirm that you are able to complete the purchase (your email address must be included in the Google Pay testing group for the test cards to be available)

  • Covered with tests (or have a good reason not to test in description ☝️)
  • Added changelog entry in both changelog.txt and readme.txt (or does not apply)
  • Tested on mobile (or does not apply)

Post merge

cc @diegocurbelo

@wjrosa wjrosa self-assigned this Dec 13, 2024
@wjrosa wjrosa marked this pull request as ready for review December 13, 2024 13:01
@wjrosa wjrosa requested review from a team and mattallan and removed request for a team December 13, 2024 13:01
@wjrosa wjrosa added the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Dec 16, 2024
@mattallan mattallan removed their request for review December 18, 2024 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked The issue is blocked from progressing, waiting for another piece of work to be done.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Google Pay option in the UPE Element doesn't work due to the delay after the user gesture
1 participant