News:

Looking for documentation? Take a look on our wiki

Main Menu

How To Add Authorize.net API with Virtuemart2

Started by mrmillmill, February 14, 2012, 06:15:18 AM

Previous topic - Next topic

mrmillmill

Hi guys, Love virtuemart 2 and I just spent two weeks building an ecommerce site with virtuemart 2 on joomla 17 and I was wondering if anyone has a solution for connecting an authorize.net account to virtuemart 2? Thanks in advance. I read through many forums on this issue but I didn't know if there was a more current revelation on this topic? Thanks again!

muasif80

1. Expertise: PHP and JAVA Expert (SCJP)
2. DEV Tools: Eclipse PDT - WAMP - XDebug
3. www.mayotitech.com/products.php

alatak

Hi,

you have to check this conifugration paramater in Vm: Enable SSL for sensible areas (recommended)

mrmillmill

Thank you so much for your quick response alatak. I have enabled the ssl for sensible areas but where and how do I enter the authorize.net API transaction key and login id in the virtuemart admin?

Also, Thank you muasif80 for responding as well. I had read this post but I wasn't sure if that was an official release for authorize.net plugin or what it was. What exactly is authorize.net AIM method? Also where can I download the plugin they are referring to? Thank you so much for all your help! You have been a huge help to me!

alatak

Hi,

QuoteThank you so much for your quick response alatak. I have enabled the ssl for sensible areas but where and how do I enter the authorize.net API transaction key and login id in the virtuemart admin?
You have to create a new payment method, and choose authorize on the select list. Then press apply or save, and go on the configuration tab.

QuoteAlso, Thank you muasif80 for responding as well. I had read this post but I wasn't sure if that was an official release for authorize.net plugin or what it was. What exactly is authorize.net AIM method? Also where can I download the plugin they are referring to? Thank you so much for all your help! You have been a huge help to me!
Yes it is an official release. Authorize.net has sevral methods. We have implemented one of them. The others will come after.

mrmillmill

Thank you so much alatak! I created the authorize.net payment method in "shop/payment method" But under "payment method information/payment method" in the little drop down field the only things that show up are VM - Payment Standard and VM - Payment Paypal. What are the rest of the configurations and where can I find those things? Thank you for all your help!

muasif80

#6
http://dev.virtuemart.net/attachments/download/384/com_virtuemart.2.0.1.h_extract_first.zip

Get this but DO REMEMBER THIS IS NOT FINAL AND STABLE RELEASE, if you want to keep vm 2.0.0 then just extract this file and install aio from inside it after extracting. Otherwise do a complete replacement of 2.0.0 with this one.

Then see how many payment methods do you see in the drop down when you reach the payment method addition screen.

AIM is an advanced integration method where you just send an api call to the Authorize.Net after collection of complete data on your website. This requires you to make your website secure yourself. This requires credit card data to be collected on your site.

There are other methods from Authorize.net
SIM is one that provides Authorize.Net hosted form that does not require you to secure your site yourself. This does not require credit card data to be collected on your site rather the Authorize.Net hosted form takes the credit card details and it is secured by Authorize.Net themselves. Therefore no SSL certificate or configuration is required on your website.

Regards
1. Expertise: PHP and JAVA Expert (SCJP)
2. DEV Tools: Eclipse PDT - WAMP - XDebug
3. www.mayotitech.com/products.php

mrmillmill

Thank you so much for all your help and quick responses. You said, "Get this but DO REMEMBER THIS IS NOT FINAL AND STABLE RELEASE, if you want to keep vm 2.0.0 then just extract this file and install aio from inside it after extracting. Otherwise do a complete replacement of 2.0.0 with this one."

I got a little confused on this explanation. I have VM 2 and aio installed on joomla. So would I install the package from the above link into aio or would I install the package at the link above inside the standard joomla installer? Thanks again for your help:)

mrmillmill

Hi alatak, Thanks for all the information. I downloaded that file and unpacked it. I installed the aio and now when I go into the virtuemart admin and select payment types and try to edit a payment type under the payment type configuration tab I get a white screen with this error:

Fatal error: Call to undefined method plgVmPaymentStandard::getVarsToPush() in /home/ragamuff/public_html/plugins/vmpayment/standard/standard.php on line 40

Any thoughts on this? Thanks again for all the help

alatak

Hi,

QuoteCall to undefined method plgVmPaymentStandard::getVarsToPush() in /home/ragamuff/public_html/plugins/vmpayment/standard/standard.php on line 40
I think you just updated the AIO , but not the main component.
The function getVarsToPush() is declard in the file administrator/componenent/com_virtuemart/plugins/vmpsplugin.php

mrmillmill

Thanks Alatak! I updated the Virtuemart component and aio from the package at the link above and now the payment methods show up and it looks to be working perfectly. Thanks for all your help. A couple final questions though:

1. What is "Secure Post" inside the "payment method/configuration" for authorize.net and is it recommended?
2. What is the "Use Sandbox" option? and why would I use that? (Is this just for test mode?)
3. If I wanted to use authorize.net payment method for multiple countries would I setup multiple payment methods for authorize.net and then choose different countries under the "payment method/configuration" tab for the specific country I want that payment method for?

Thanks in advance!