lyra / plugin-magento

An open source plugin that links Magento based e-commerce websites to PayZen secure payment gateway developed by Lyra Network.
https://lyra.com/fr/guides/magento/
Open Software License 3.0
10 stars 12 forks source link

Updated Payment response to dispatch restore_quote event when payment is not successful #21

Closed OLTC-fperrin closed 2 years ago

OLTC-fperrin commented 3 years ago

Following magento's code (vendor/magento/module-checkout/Model/Session.php:560), when restoring the quote we should dispatch the restore_quote event.

nabil509 commented 2 years ago

Hi @OLTC-fperrin,

We accept your changes but unfortunately, we cannot accept the PR from here. Our procedures force us to manage this repository as a mirror of our internal one. We try to improve this point.

So, we picked your changes and include them in the new released version 2.5.10. We added the modification to this file too: Controller/Payment/Iframe/Loader.php.

Thank you for contribution. I close the PR.