by Monte Persinger | Magento E-Commerce |

IDP Authorize Net CIM Plugin Users:

There was an issue with the Authorize.net CIM plugin for Magento.  This was a widespread issue with Magento and developers using the CIM SOAP API integration with Auth Net.  The issue was reported here:

http://community.developer.authorize.net/t5/Integration-and-Testing/Developers-with-Magento-having-issues-with-CIM-SOAP-API/td-p/49777

For paid users of the IDP Auth Net Plugin here is the solution:

file: /app/code/local/IDP/AuthorizeCIM/Model/Authorizecimsoap.php

Simply replace the parseXML() function->

public function parseXML($start, $end, $xml)         {

$xmlbegin = 0;

$xmlbegin = strpos($xml,”?>”);

if($xmlbegin>0) { $xml = substr($xml,$xmlbegin+2); }

return preg_replace(‘|^.*?’.$start.'(.*?)’.$end.’.*?$|i’, ‘$1’, $xml);

}

The newest version of the Auth Net CIM plugin has other enhancements, but this one change would immediately solve this issue if you choose. The link has the full directory that may affect customizations (though if only the template files were changed the link is safe to use). For standard installation fee I could update your module taking into account any behaviors that were customized. However, replacing the function above would fix this immediate anomaly with no other effects.

Thanks,

Eric Levine

elevine@goidp.com

Web Development Programming Orange Guy Mascot
Authorize Net CIM Plugin for Magento Fix was last modified: April 3rd, 2019 by Monte Persinger
Share This: