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] Apple Pay #3658

Draft
wants to merge 2 commits into
base: add/google-pay-wallet-method
Choose a base branch
from

Conversation

wjrosa
Copy link
Contributor

@wjrosa wjrosa commented Dec 13, 2024

Changes proposed in this Pull Request:

This PR introduces Apple 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/apple-pay-wallet-method)

  • As a merchant, connect your Stripe account

  • Confirm you can see Apple 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 13 27 42

  • Enable the payment method

  • As a shopper, access the test store from a public-acessible address using Safari

  • Add any product to your cart

  • Go to checkout (both block and shortcode) and confirm you can see Apple Pay when selecting the "Credit / Debit Card" option

  • Confirm that you are able to complete the purchase (you may need to perform a real purchase)


  • 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

@wjrosa wjrosa self-assigned this Dec 13, 2024
@wjrosa wjrosa changed the title Adding Apple Pay as a new wallet payment method [Wallet] Apple Pay Dec 13, 2024
@wjrosa wjrosa added the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Dec 17, 2024
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.

1 participant