Quote Originally Posted by split63 View Post
I do not quote follow. Are you saying you found the issue?
What is "DOM"?

There are two buttons on the checkout confirmation screen:

The Zen Cart "Confirm" button.(Hidden when Stripe payment is selected)
The Stripe "Confirm" button (displayed only if Stripe is selected as the payment method).
For Amazon Pay, the user is redirected to another screen, which causes the checkout confirmation display to disappear. When they return, the checkout confirmation screen is reloaded, and checkout.js executes the click() command to press the Zen Cart "Confirm" button.

Issue
If the click() command runs before the Zen Cart "Confirm" button appears, the purchase process cannot proceed.

Fix
This update ensures that the click() command waits until the Zen Cart "Confirm" button is displayed before executing.

At this stage, we are not 100% certain that this is the root cause, but it is a highly probable and common issue.