PayUMEA / payu-mea-magento2

Known Magento bugs resolved with this release
http://www.payu.co.za
0 stars 2 forks source link

Magento v2.2.2 bug: Double Order Processing #9

Closed netcraft-devops closed 6 years ago

netcraft-devops commented 6 years ago

The issue discovered was that the redirect url stored in the customer session before redirecting to PayU still exists after PayU sends through to the server the Instant Payment Notification (IPN) payload. At the moment the session data is only cleared when the customer is redirected back to merchant store from PayU. So if the user closes the page while still at PayU gateway, without being redirected from PayU, and subsequently commence with a new checkout, the pre-existing session will still be used. This leads to double processing.

netcraft-devops commented 6 years ago

fixed by pull request #12