Open KathiD303 opened 2 days ago
Hello @KathiD303 ,
Thanks for the report, the additional logging is actually extremely helpful here; at one point we had merchants occasionally seeing duplicated orders, apparently due to a possible race condition in some versions of Magento that made it possible for multiple quotes to be associated with the same order ID. The module's canSubmitQuote() function was added to prevent this. It ignores orders that were created and subsequently cancelled, which seems like (maybe?) what should be happening here... I have little to no familiarity with the Mollie Payments plugin, but I'll see if I can get it set up on a local 2.4.5-p9 instance with the latest version of the AP module and find out what the troublesome orders look like.
Thanks, Spencer
When choosing a Mollie payment in payment methods and then deciding to complete checkout with Amazon Pay (option "Amazon Pay in final checkout step" in Amazon Pay module enabled) the checkout fails with:
[2024-09-19T08:50:09.892439+00:00] amazonClientLogger.INFO: Quote is already associated with an order. QuoteId: 211 OrderIds: B000000073 [] [] [2024-09-19T08:50:09.894330+00:00] amazonClientLogger.ERROR: Unable to complete Amazon Pay checkout. Can't submit quote id: 211 [] [] [2024-09-19T08:50:09.894392+00:00] amazonClientLogger.ERROR: Unable to complete Amazon Pay checkout Unable to complete Amazon Pay checkout [] []
(please note that the first logging message was added by us to get further insights into the problem)
What I expected
Amazon checkout can be completed.
What happened instead
Amazon checkout fails with message "Unable to complete Amazon Pay checkout"
Steps to reproduce the issue
Your setup