magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

Magento 2.2.7 Authorize.Net DirectPost - Connection Timeout - Transaction Hash Invalid - SHA256 - MD5 #149

Closed Joker2099 closed 5 years ago

Joker2099 commented 5 years ago

Just upgraded from 2.1.4 to 2.2.7 and installed the patch MD5 to SHA256 patch.

When trying to check out I get the following:

  1. The order is placed in Magento and status is set as Pending

  2. Authorize.Net charges money to the card

  3. Check out page shows an error "Something went wrong..". error

  4. Authrorize's transact.dll says it couldn't send the response to the merchant but the transaction was approved as seen in the previous screenshot -Exception.log has [2019-03-08 20:29:40] main.CRITICAL: The transaction was declined because the response hash validation failed. {"exception":"[object] (Magento\Framework\Exception\LocalizedException(code: 0): The transaction was declined because the response hash validation failed. at html/vendor/magento/module-authorizenet/Model/Directpost.php:552)"} []

After digging for hours...still haven't gotten anywhere with this.

I just got rid of the Signature Key and the code went back to MD5 hash validation, still not working the same thing happens except there is no exception thrown in the log. So my assumption is that it's the 2.2.7 related problem.

Can anyone help me with this? Thank you