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

Amazon Pay ECE: add to block cart and checkout #3837

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

Conversation

annemirasol
Copy link
Contributor

@annemirasol annemirasol commented Feb 4, 2025

Fixes #3732

Changes proposed in this Pull Request:

Adds Amazon Pay express checkout to block cart and block checkout.

Block cart Block checkout
Screenshot 2025-02-04 at 1 28 19 PM Screenshot 2025-02-04 at 1 30 17 PM

Testing instructions

  1. Turn on the feature flag by setting the _wcstripe_feature_amazon_pay option to yes.
  2. In wp-admin Stripe settings, enable Amazon Pay as a payment method.
  3. As a shopper, add an item to your cart.
  4. Complete the purchase using Amazon Pay, inside the block cart or block checkout page.
  5. Verify in wp-admin that the order details are correct, and that the status is Completed or Processing.
    • It may take a while (3-5 minutes) for charges to clear. Status will be Pending payment until then.
  6. View block cart or block checkout inside the wp-admin block editor. Verify that the Amazon Pay button is present.
  7. Disable Amazon Pay as a payment method, or turn off the feature flag.
  8. Verify that Amazon Pay is no longer available inside block cart and checkout.
  9. For wp-admin block editor:

  • 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

@annemirasol annemirasol self-assigned this Feb 4, 2025
@annemirasol annemirasol marked this pull request as ready for review February 4, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Amazon Pay ECE: add to block checkout
1 participant