---
title: "How to Update Authorize.Net Direct Post from MD5 to SHA-512 in Magento"
url: "https://magecomp.com/blog/update-authorize-net-direct-post-md5-sha-512-magento/"
date: "2019-03-18T17:37:54+00:00"
modified: "2025-02-21T08:50:19+00:00"
author:
  name: "Gaurav Jain"
  url: "https://magecomp.com/"
categories:
  - "How To"
  - "Magento 2"
  - "Magento News"
word_count: 356
reading_time: "2 min read"
summary: "Authorize.Net is one of the oldest and most popular payment gateway providers for eCommerce. Established in 1996, the company is headquartered in American Fork, Utah. Since inception, the company h..."
description: "Authorize.Net is one of the oldest and most popular payment gateway providers for eCommerce. Established in 1996, the&hellip;"
keywords: "How To, Magento 2, Magento News"
language: "en"
schema_type: "Article"
related_posts:
  - title: "How to Add Custom Meta tag in Product View Page in Magento 2?"
    url: "https://magecomp.com/blog/add-custom-meta-tag-in-product-view-page-in-magento-2/"
  - title: "How to Use Local &#038; Cookie Storage using JavaScript modules in Magento 2"
    url: "https://magecomp.com/blog/use-local-cookie-storage-using-javascript-modules-in-magento-2/"
  - title: "How to Show Product Custom Option into Custom Page in Magento 2 "
    url: "https://magecomp.com/blog/show-product-custom-option-into-custom-page-magento-2/"
---

# How to Update Authorize.Net Direct Post from MD5 to SHA-512 in Magento

_Published: March 18, 2019_  
_Author: Gaurav Jain_  

![Update AuthorizeNet Direct Post from MD5 to SHA 5121](https://magecomp.com/blog/wp-content/uploads/2019/03/Update-AuthorizeNet-Direct-Post-from-MD5-to-SHA-5121-1024x332.webp)

Authorize.Net is one of the oldest and most popular payment gateway providers for eCommerce. Established in 1996, the company is headquartered in American Fork, Utah. Since inception, the company has provided payment gateway services to over 400,000 merchants and later acquired by Visa in 2010. Magento’s comes with built-in integration of the Authorize.Net that uses MD5 based hash and recently Authorize.net will stop supporting MD5 based hash usage on June 28, 2019. So, the Magento merchants will not able to process payments using Authorize.Net Direct Post.

[![Hire Magento Programmer](https://magecomp.com/blog/wp-content/uploads/2025/02/Hire-Magento-Programmer-CTA-1.webp)](https://magecomp.com/services/hire-magento-programmer/)

That’s the reason why we need to apply the patch provided by Official Magento and replace the existing MD5 hash with a Signature Key (SHA-512) in the Magento Admin configuration settings.

Below are three steps that you need to follow if you are willing to continue using Authorize.Net Direct Post payment method.

**1. Download & Install the patch:**
Simply download and install packages for your respective Magento edition and version.

***[Download Magento 1.x Patch](https://magento.com/tech-resources/download#download2280)***

***[Download Magento 2.x Patch](https://magento.com/tech-resources/download#download2279)***

You can also download patches to installing with Composer. Now, follow these steps to download and install the patch:

For M1, there is just one option. For M2, choose between Git-based or Composer-based.

Download and install the Authorize.net Direct Post Signature Key patch for your Magento version.

**2. Get Signature Key from Authorize.net**
1. First, log into your Authorize.net Merchant Account using this link https://account.authorize.net.
2. Select Account from the main toolbar.
3. Select Settings in the main left-side menu.
4. Select API Credentials & Keys.
5. Select New Signature Key. Review the options available.
6. Click Submit to continue.
7. Request and enter a PIN for verification.

Your new Signature Key is displayed. Copy this key to add to your Magento Admin configuration.

[![Magento version upgrade](https://magecomp.com/blog/wp-content/uploads/2025/02/Magento-2-Version-Upgrade-CTA-2.webp)](https://magecomp.com/services/magento-upgrade-services/)

**3. Paste Signature Key to Backend Magento Authorize.net Configuration**
1. Log into the Magento Admin Panel and navigate to Payment Methods.
2. Expand the Authorize.net Direct and paste the SHA-512 Signature Key.

**For Magento 1.x**

![auth net signature key m1](https://magecomp.com/blog/wp-content/uploads/2019/03/auth-net-signature-key-m1.png "auth-net-signature-key-m1")

**For Magento 2.x**

![auth net signature key m2](https://magecomp.com/blog/wp-content/uploads/2019/03/auth-net-signature-key-m2.png "auth-net-signature-key-m2")

That’s it! Now, save the configuration and your store will continue accepting payment using Authorize.net Gateway.

[![Magento Malware Removal](https://magecomp.com/blog/wp-content/uploads/2025/02/Magento-Malware-Removal-CTA-5.webp)](https://magecomp.com/magento-malware-removal.html)

Let us know if you are facing an issue while implementing using this method.

Happy Fixing!


---

_View the original post at: [https://magecomp.com/blog/update-authorize-net-direct-post-md5-sha-512-magento/](https://magecomp.com/blog/update-authorize-net-direct-post-md5-sha-512-magento/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-09-20 01:32:16 UTC_  
