I am using Magento 2.1.3 EE and i applied patch using
patch -p1 < patchfile.patch which applied patch in 5 files of vendor/magento/module-authorizenet
I did follow the instruction given by the magento here in this article: https://support.magento.com/hc/en-us/articles/360024368392
Also, follow sandbox setup using following: https://support.magento.com/hc/en-us/articles/360000570793-Error-placing-order-with-Authorize-net-Sandbox-account-An-error-occurred-on-the-server-
I have added all details correctly and verified.
Issue is while testing the authorization.net in sandbox in my local giving this error:
An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.
whilst on staging it says :
Transaction has been declined because response hash validation has been failed in vendor/magento/module-authorizenet/Model/Directpost.php 557
What could be the issue? What's the fix for this? Debug mode is on but no clues in logs. How can i identify error and cause of this issue.
Any help would be appreciated.