checkout / checkout-magento2-plugin

Checkout.com Magento 2 official extension
MIT License
32 stars 33 forks source link

ECPINT-2600: add knet mandate info on success/fail page #473

Closed ved-beejadhur-cko closed 3 years ago

alfie-loakes-cko commented 3 years ago

@ved-beejadhur-cko It might be worth noting that this would not work for merchants that have already overwritten the success page template, this might be an issue as a lot of themes would have done this

If you want to do this without overwriting the success page you could add the knet mandate info into a success message as this should be rendered by custom success pages. This is what we do when a merchant enables debug mode

https://github.com/checkout/checkout-magento2-plugin/blob/master/Helper/Logger.php#L95-L100