VirtueMart 2 > Plugins: Payment, Shipment and others
Authorize.net in Latest Version (Please Test)
dontflinch:
I am not sure what is the problem with this payment plugin in 2.0.7.g but I updated to that one and started getting the 'error connecting' and the invalid data errors. I reverted just that plugin folder to 2.0.6 version and it works again...
vdoph:
I had to manually change the file to allow my system to connect to the Authorize.net server securely...
Please see quote below.
Thanks,
Glenn
--- Quote from: vdoph on April 25, 2012, 14:04:47 PM ---In testing the current Authorize.net plugin (AIM Method)
VM Version 2.0.6 - Joomla 2.5.4
Received the dreaded "Error connecting to AuthorizeNet" message.
After researching, the issue appears to be with CURL validation of the far side SSL Certificate (SSL PEER).
Here's a fix (maybe temporary) - Add a line to explicitly NOT verify the SSL certificate of Authorize.net - See example below:
In file /plugins/vmpayment/authorizenet/authorizenet.php near line 800 you'll see the function that needs an edit to allow the SSL POST to operate correctly.
___
function _sendRequest($post_url, $post_string) {
$this->logInfo("_sendRequest" . "\n\n", 'message');
$curl_request = curl_init($post_url);
//Added the next line to fix SSL verification issue (CURL error verifying the far end SSL Cert)
curl_setopt($curl_request, CURLOPT_SSL_VERIFYPEER, 0);
//End Authorize.net fix
curl_setopt($curl_request, CURLOPT_POSTFIELDS, $post_string);
curl_setopt($curl_request, CURLOPT_HEADER, 0);
~ Remainder of function truncated for brevity
___
Once the line above is added, the Auth.net (and other emulators) SSL Post works successfully.
See the following post for more details about the CURL issue, documented here: http://ademar.name/blog/2006/04/curl-ssl-certificate-problem-v.html
Hope this helps someone out there...
Thanks,
Glenn Geller
VDO-Ph International
--- End quote ---
dontflinch:
hi glenn,
I should have added that I remember making the edit you posted in my last version and in fact I did try to do that again.
I expected it would fix it, but it did not.
p.s. thanks for posting (before and now) though I appreciate it
partswench:
ready to scream here
this is not working
put in the change to the plug code
SSl installed
curl installed
sensible areas checked
any clues to this
vm2.0.6 current joomla
http://crommy.com
virtual batch of brownies to anyone who can help
Stonedfury:
Hello. We are looking to upgrade/migrate our site and I just want to make sure that authorize.net has this approved and it works?
I couldn't find a straight up front answer.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version