By default, Magento shows the actual response from PayPal (PayFlow Pro) which isn't always that nice or friendly. For example one of the fraud prevention messages came back as "Declined by Fraud Service". Is there a way I can modify the response that is displayed to give a friendlier response?
What Magento core files do I need to copy and then modify to override the default pass-through of Paypal messages?
Thanks for your help!
Here is where the error message is being set (Payflow Link): https://github.com/OpenMage/magento-mirror/blob/4bc632edf76c1008b7dccde3e5c7357ce2c00087/app/code/core/Mage/Paypal/Model/Payflowlink.php#L282
And for Payflow Pro: https://github.com/OpenMage/magento-mirror/blob/4bc632edf76c1008b7dccde3e5c7357ce2c00087/app/code/core/Mage/Paypal/Model/Payflowpro.php#L437
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With