Closed HenKun closed 1 year ago
Hello @HenKun, we appreciate you creating this clearly outlined problem. We will make an effort to reproduce the issue and address it in the upcoming release. Thank you for your patience!
Fast as always. You guys make a great job with this module!
Thanks @HenKun , we indeed covered this issue in the latest release, 2.26.0, of the plugin. I will be closing this issue for now. Cheers!
Describe the bug Since fixing #592 the quote is not restored anymore, if the customer uses the hardware/browser back button on a Mollie related page to return to Magento. This is because the newly created field
mollie_success
inRestoreQuoteOfUnsuccessfulPayment::execute
on line 53 isnull
. This field is only set tofalse
, if the payment really failed, e.g. after processing or via webhook. I think the use case of hitting the back button occures more often than a customer ordering twice within 5 minutes, so the priority for those both conflicting desires is on the "back button" issue, imho. Alternatively, initializingmollie_success
withfalse
could be an option, however, there might be other side effects by doing this which would bypass the fix of #592Used versions
To Reproduce Steps to reproduce the behavior:
Expected behavior Quote is restored and customer is on Checkout Payment Page
Actual behavior Quote is not restored and customer is redirected to empty cart
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.