Closed HenKun closed 1 year ago
Hi @HenKun ,
We've investigated this and based on that, removed the loading screen as it is obsolete within the later Magento versions.
So we are happy to share that we've just released the new 2.18.0 version with this correction.
Thank you for opening this issue and for the detailed issue report.
We are closing this issue now but please feel free to reopen the issue if you still have questions.
Describe the bug
It is not crystal clear why this option exists and what the purpose should be.
The comment states:
Use loading screen before redirect. This will enable mobile users to use the back button.
It is unclear why mobile users should not be able to use back button without the intermediate loading screen. They would simply be redirected to the Magento checkoutIf the user chooses a mollie method and hits "Place Order" they are redirected to the intermediate loading screen and after one second redirected to Mollie payment page. For some milliseconds two buttons
Back to checkout
andProceed payment
appear, which cannot be read or clicked, due to the fast redirect.If the user hits back button on payment screen, they are redirected back to the intermediate loading screen, where "Redirecting to mollie" appears for 1 second, and two buttons
Back to checkout
andProceed payment
are presented for some milliseconds, before the user is automatically redirected to the Magento checkout. In which case do these buttons matter, since in every case the page is left after 1 second, due to the javascript at the bottom of the phtml file. Why is the user shown "Redirecting to Mollie", when they are actually redirected to the Magento checkout?The
getBackUrl
which in turn usesgetRestartUrl
is only used within theBack to checkout
button, which will never be clicked due to the short display period.So what is the intended customer flow of the loading screen, and most importantly: Should i enable or disable this feature?
Update
The whole code for redirecting to Mollie and going back to Magento is confusing and not correct, imho. If I enable "use loading screen" the customer is redirected back to the
Redirect
controller, if he hits the Back button. There, on line 127, another transaction is started, although the customer is redirected back to Magento and just canceled the operation. This cannot be correct. Furthermore, the behavior between going back by hitting the Back button and clicking on "Back to payment methods" on Mollie Payment screen is different.In my opinion, the way to go with an intermediate page is correct, but
Used versions
To Reproduce Steps to reproduce the behavior:
Thanks for considering.