{"id":337,"date":"2019-03-04T18:37:24","date_gmt":"2019-03-04T18:37:24","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/03\/04\/update-authorize-net-direct-post-from-md5-to-sha-512-in-magento\/"},"modified":"2025-05-22T17:03:27","modified_gmt":"2025-05-22T11:33:27","slug":"update-authorize-net-direct-post-from-md5-to-sha-512-in-magento","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/update-authorize-net-direct-post-from-md5-to-sha-512-in-magento\/","title":{"rendered":"How to Update Authorize.Net Direct Post from MD5 to SHA-512 in Magento"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Are you Magento store owner using any of the below versions and using Authorize.Net Direct Post payment method with MD5 based hash?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Magento Commerce 1.X.X<\/li>\n\n\n\n<li>Magento Open Source 1.X.X<\/li>\n\n\n\n<li>Magento Commerce 2.X.X<\/li>\n\n\n\n<li>Magento Open Source 2.X.X<\/li>\n\n\n\n<li>Magento Commerce (Cloud) 2.X.X<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If yes, continue reading this important post!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, if you installed <a href=\"https:\/\/meetanshi.com\/blog\/install-magento-supee-11155\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento SUPEE 11155<\/a> patch, you don&#8217;t need to worry as this solution is already resolved in the security patch!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Uptill now, Magento used the MD5 based hash to implement the Authorize.Net Direct Post payment method. But not anymore after <em><strong>Authorize.net announced <a href=\"https:\/\/support.authorize.net\/knowledgebase\/Knowledgearticle\/?code=000002815\" target=\"_blank\" rel=\"noreferrer noopener\">MD5 Hash End of Life &amp; Signature Key Replacement<\/a><\/strong><\/em>!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After this announcement, the store owners will not be able to process secure payments using the Authorize.net Direct Post.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.authorize.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">Authorize.Net<\/a>&nbsp;is phasing out the MD5 based hash use for transaction response verification in favor of the SHA-512 based hash utilizing a Signature Key. It will stop supporting the MD5 based hash key use from June 28, 2019.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not to worry, as Magento provides the patch that merchants need to apply and replace the existing MD5 hash with a Signature Key (SHA-512) in the Magento Admin configuration settings.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/Screenshot-2024-06-14-122301.png\" alt=\"Introducing SHA-512 For Magento \" class=\"wp-image-46759\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the below steps to continue using the Authorize.Net Direct Post in the Magento stores!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Update Authorize.Net Direct Post from MD5 to SHA &#8211; 512 in Magento:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Apply the Patch<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download the zip file for your Magento Version for the patch installation. You can also download these&nbsp;<strong><a href=\"https:\/\/github.com\/MeetanshiInc\/Magento-Authorize-Net-Direct-Post-Patch-for-M1-M2\" target=\"_blank\" rel=\"noreferrer noopener\">Pre Patched files from GitHub<\/a>.&nbsp;<\/strong>Unzip the downloaded files and add them to your root Magento folder.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Magento Version<\/strong><\/th><th><strong>Patch Files<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Magento 2.3.0<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/CE-2.3.0.zip\">Magento CE-2.3.0<\/a><\/td><\/tr><tr><td>Magento 2.2.6 to Magento 2.2.7<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/CE-2.3.0.zip\">Magento CE-2.3.0<\/a><\/td><\/tr><tr><td>Magento 2.2.0 to Magento 2.2.5<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/CE-2.3.0.zip\">Magento CE-2.3.0<\/a><\/td><\/tr><tr><td>Magento 2.1.0 to Magento 2.1.9<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/CE-2.3.0.zip\">Magento CE-2.3.0<\/a><\/td><\/tr><tr><td>Magento 1.5.0 to Magento 1.9.4.0<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/CE-1.5.0.1-CE-1.9.4.zip\">Magento CE-1.5.0.1-CE-1.9.4.0<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Note: If you use Magento Commerce Cloud, apply the patch and deploy. For more information, visit <a href=\"https:\/\/developer.adobe.com\/commerce\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apply custom patches<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Get a New Signature Key<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the below steps to get a new signature key. To know more about the signature key, visit <a href=\"https:\/\/support.authorize.net\/knowledgebase\/Knowledgearticle\/?code=000001502\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li> Log into the Merchant Interface at <a href=\"https:\/\/account.authorize.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/account.authorize.net<\/a>.<\/li>\n\n\n\n<li>Click <strong>Account <\/strong>from the main toolbar.<\/li>\n\n\n\n<li>Go to <strong>Settings <\/strong>in the main left-side menu.<\/li>\n\n\n\n<li>Click <strong>API Credentials &amp; Keys<\/strong>.<\/li>\n\n\n\n<li>Select <strong>New Signature Key<\/strong>. Review the options available.<\/li>\n\n\n\n<li>Click <strong>Submit <\/strong>and continue.<\/li>\n\n\n\n<li>Request and enter the PIN for verification.<\/li>\n\n\n\n<li>Your new Signature Key will be displayed that is to be copied to add to your Magento Admin configuration.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Update Magento Admin Configuration<\/h3>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log in<\/strong> to the admin panel.<\/li>\n\n\n\n<li>Go to <strong>Stores &gt;<\/strong>&nbsp;<strong>Configuration<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Sales &gt;<\/strong>&nbsp;<strong>Payment Methods<\/strong>.<\/li>\n\n\n\n<li>Expand the <strong>Authorize.net Direct Post<\/strong>&nbsp;section.<\/li>\n\n\n\n<li>In the <strong>Signature Key <\/strong>enter the SHA-512 Signature Key.<\/li>\n\n\n\n<li>Click <strong>Save Config<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For Magento 1:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/Magento-Admin-Configuration.png\" alt=\"Magento Admin Configuration\" class=\"wp-image-4361\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For Magento 2:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/03\/Magento-2-Admin-Configuration-1024x461.png\" alt=\"Magento 2 Admin Configuration\" class=\"wp-image-4362\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After the successful signature key update, you can enjoy capturing secure online payments using the Authorize.NetDirect Post!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> <em>With the upcoming Magento 2.3.1 release, Magento will include the new Authorize.Net extension to replace the Direct Post. If you are not going to update to Magento 2.3.1 anytime soon, follow the above method to update Authorize.Net Direct Post from MD5 to SHA &#8211; 512 in Magento stores.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or, you may <a href=\"https:\/\/meetanshi.com\/contacts\" target=\"_blank\" rel=\"noreferrer noopener\">contact us<\/a> for professional help with Authorize.net Direct Post transaction key update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you Magento store owner using any of the below versions and using Authorize.Net Direct Post payment method with MD5 based hash? If yes, continue&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-337","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":15496,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/337\/revisions\/15496"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}