mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
101 stars 53 forks source link

Backend payment link redirects sometimes to root site #808

Closed dragonfly4 closed 1 month ago

dragonfly4 commented 2 months ago

We have issues with the backend payment link when an admin creates an order. I cannot simulate it which is annoying.

Version 2.4.0 with Magento 2.4.6-p6 community. PHP 8.2

The link goes to https://ourwebsite.be/nl/mollie/checkout/paymentlink/order/MDozOnIxUEdkNGRRTTRjcVFIT015dFptK3RJQlp5NkhUQ0daZ1JoMGxxxxxxx/

which sometimes redirects to the root folder without message. Sometimes it redirects to the Mollie payment page 'https://www.mollie.com/checkout/select-method/QpgMxxxxxxx'

Mollie_backend

The shop is active under pub folder so nothing special. It is a multistore set-up.

Which file in this module is the best to start debugging this redirect please? That way I can hopefully find the root issue as nothing is logged.

dragonfly4 commented 2 months ago

@Frank-Magmodules Thx for looking into this. I have opened a new issue. (https://github.com/mollie/magento2/issues/806#issuecomment-2296360403)

dragonfly4 commented 2 months ago

As I am unable to reproduce this issue myself I tried to recreate an order. It gave me an out-of-stock warning so I guess this problem might be related to https://github.com/mollie/magento2/issues/795 as that mentions a stock check.

I will update from 2.40.0 to 2.40.1 to see if that helps. (maintenance window is weekend)

Frank-Magmodules commented 2 months ago

Thanks @dragonfly4, just let me know—I'm happy to assist. Also, don't hesitate to reach out to us directly.

Frank-Magmodules commented 1 month ago

Hi @dragonfly4, we’ve just released a new version of the Mollie plugin, 2.41.0, which includes an adjustment to the Paymentlink. Since neither of us could reproduce the issue anymore, I’m closing this for now. However, feel free to reopen or comment if you encounter the issue again.