magento-2-smtp icon indicating copy to clipboard operation
magento-2-smtp copied to clipboard

fix: if no active quote is found error is thrown

Open speedupmate opened this issue 3 years ago • 1 comments

if no active quote is found error is thrown, order placement is stopped , no redirect to success page is possible

Description (*)

If in combination of plugins some other process deactivates the quote before this plugin reacts this module will break checkout process with error "No Such Entity With Cart ID " and user is redirected to empty cart page.

simplest solution is to place the quote search to try/catch if it fails it fails silently. If this is a important feature other methods for searching quote need to be used

speedupmate avatar Aug 13 '21 10:08 speedupmate

https://github.com/mageplaza/magento-2-smtp/pull/324 this is better solution

LusienGG avatar Nov 12 '21 13:11 LusienGG

Thank you for your contribution. I have merged your patch and will release it soon. Thank you!

KhietNguyen83 avatar Dec 02 '22 04:12 KhietNguyen83