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: hide actions in order confirmation page #3820

Open
annemirasol opened this issue Jan 31, 2025 · 0 comments
Open

Amazon Pay ECE: hide actions in order confirmation page #3820

annemirasol opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
component: ECE Issues related to Express Checkout Element priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. type: task The issue is an internally driven task (e.g. from another A8c team).

Comments

@annemirasol
Copy link
Contributor

annemirasol commented Jan 31, 2025

Background
We change an order's status from "Pending payment" to "Processing" or "Completed" when Stripe sends the "charge succeeded" signal.

public function process_webhook_charge_succeeded( $notification ) {

With the confirmation token flow, which Amazon Pay uses, it may take a few minutes before Stripe clears the charge and sends back the signal. The order status remains as "Pending payment", and the customer might see "Pay" or "Cancel" action buttons in the order confirmation page.

Task
We need to hide these buttons, as there is no action needed from the shopper at this time.

Image
@wjrosa wjrosa self-assigned this Feb 3, 2025
@wjrosa wjrosa added type: task The issue is an internally driven task (e.g. from another A8c team). priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. component: ECE Issues related to Express Checkout Element labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ECE Issues related to Express Checkout Element priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. type: task The issue is an internally driven task (e.g. from another A8c team).
Projects
None yet
Development

No branches or pull requests

2 participants