emspay / magento2

Deprecation EMS Pay - Magento2 plugin
https://emspay.eu
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Some customers are redirected to the cart page after successfully finishing an order #32

Open viniciusfabri opened 4 years ago

viniciusfabri commented 4 years ago

Hi,

We are noticing an odd behaviour on Production: ~20% of customers never see the success page, but rather are redirected to the cart page after finishing payment. This happens because the EMS module is not being able to load up data from the session here: https://github.com/emspay/magento2/blob/master/app/code/EMS/Pay/Controller/EmsAbstract.php#L73

We are not able to reproduce this issue ourselves, but we placed some logs on those functions in Production, and the line above returns null/empty

The redirect flow is as follows:

We are using Redis for session management. My question is if you faced this before on other customers/projects, and if so, how it was resolved.