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 Pay-for-Order Page #3739

Closed
9 tasks
annemirasol opened this issue Jan 16, 2025 · 3 comments · Fixed by #3835
Closed
9 tasks

Amazon Pay ECE: add to Pay-for-Order Page #3739

annemirasol opened this issue Jan 16, 2025 · 3 comments · Fixed by #3835
Assignees

Comments

@annemirasol
Copy link
Contributor

annemirasol commented Jan 16, 2025

Objective
If Amazon Pay express checkout is enabled and supported, shoppers should be able to use Amazon Pay to pay for orders via the Pay-for-Order page.

Acceptance criteria

When Amazon Pay express checkout is enabled and supported:

When Amazon Pay express checkout is not enabled:

  • Does not display the payment button in the Pay-for-Order page.

Others

  • No regression for other pages, e.g. product, cart, checkout, etc.
  • No regression for other express checkout methods.
  • No regression for stores that are still on PRB.
  • Relevant documentation have been added or updated.

Notes

Links

  1. https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodCreation
  2. https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
  3. https://docs.stripe.com/js/confirmation_tokens
@hsingyuc hsingyuc self-assigned this Jan 28, 2025
@hsingyuc
Copy link
Contributor

@annemirasol, I was working on this issue and just realized that #3793 has covered my fixes. Anything I missed here?

✅ Displays the payment button in the Pay-for-Order page

Image

✅ Displays the correct line items, shipping fee and total amount in the payment modal.

Image

✅ Allows shoppers to complete the purchase using Amazon Pay
✅ Displays in the Order Details page if Amazon Pay was used for the order.

Image

@hsingyuc
Copy link
Contributor

Displays in the Order Details page if Amazon Pay was used for the order.

Second thought, for order details, you mean admin order's page, correct?

@annemirasol
Copy link
Contributor Author

I was working on this issue and just realized that #3793 has covered my fixes. Anything I missed here?

Oh, I did expect intersection with classic checkout, but from experience with Google Pay and Apple Pay, there were a few things that didn't work quite correctly. I guess they have since been fixed?

If we can do an end-to-end process (from the merchant creating the order and the customer using Amazon Pay to pay for it), then I would say everything's good!

Displays in the Order Details page if Amazon Pay was used for the order.

Second thought, for order details, you mean admin order's page, correct?

Yes! In these areas:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants