Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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§ion=stripe&panel=methods
):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)
changelog.txt
andreadme.txt
(or does not apply)Post merge