0

I'm using "Sandbox Authorize.net" payment method to place an order via Magento2.2.4 but getting following error:-

"an error occurred on the server please try to place order again"

Here is the screenshot for the same:-

enter image description here

enter image description here

Here is the Authorize.net settings:-

https://nimb.ws/r68hP1

enter image description here

Note:-Few days back, it was working fine but don't know why for now it's not working,i tried R&D but issue didn't resolve. during R&D I found following:-

enter image description here

Here:- https://support.authorize.net/s/article/MD5-Hash-End-of-Life-Signature-Key-Replacement

I blanked MD5 but it doesn't work.

Please help me to resolve this issue!

1

Recently I faced same situation as you are now.

There are many things you will have to check for this.

1) Put test url (Gateway URL, Transaction Details URL) instead of live url in authorize.net settings in payment section in admin.
2) Check if "Test Mode" is set to "Yes" in admin
3) Check all credentials you put in admin for authorize.net payment settings
4) This also happens when user does not enter correct billing address according to his card details.

There are some settings in Authorize.net you might consider to change or force user to enter his correct billing address according to card details he has.

To change this settings in Authorize.net:

a) Click Settings under Account in the main menu on the left.
b) Click Address Verification Service under Security Settings.
c) Under "General AVS Responses" uncheck all checkboxes under "Reject".
d) Under "Address and ZIP Code Responses" uncheck all checkboxes under "Reject".

These are the possiblity you can get your solutions. I will also suggest you when you place the order, try to get the real response in console. It will tell you exact error.

Authorize.Net is phasing out the MD5 based transHash element in favor of the SHA-512 based transHashSHA2. The setting in the Merchant Interface which controls the MD5 Hash option will be removed by the end of January 2019, and the transHash element will stop returning values at a later date to be determined.

This means you will no longer be able to use the MD5 for validation in the future but They do offer a Signature Key that is able to offer that same validation for your website/software that is currently utilizing the MD5. You can learn more about this process and how the Signature Key can be used in place of the MD5 here:

https://developer.authorize.net/support/hash_upgrade/

For Magento: https://support.magento.com/hc/en-us/articles/360024368392

  • thanks for the update,it doesn't work...I've doubt about "Merchant MD5" detail so i'm looking this detail from sandbox account but in the panel there is no any option for the same,could you please let me know.as i posted above there is no need to set "Merchant MD5" now. is this right? – wakar Ahamad Apr 5 at 13:07
  • See my updated answer. – Arshad Hussain Apr 5 at 13:16
  • thankyou so much,it works for me! – wakar Ahamad Apr 5 at 14:54
0

Authorize.net has stopped MD5 support and introduced "Signeture Key" so to use it we need to apply patches.

To apply patches you need to download:-

https://github.com/MeetanshiInc/Magento-Authorize-Net-Direct-Post-Patch-for-M1-M2

And then you need to generate and set "Signeture Key".

For all steps,please visit here:-

https://support.magento.com/hc/en-us/articles/360024368392

-- Thanks!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.