News:

Looking for documentation? Take a look on our wiki

Main Menu

Authorize.net for VirtueMart 2.X

Started by Eric Brown, September 23, 2011, 21:05:14 PM

Previous topic - Next topic

hollywooood

Hi All,

I have a project coming up that requires Authorize.net implementation.  Not sure if I should use the Joomla 1.5 and Virtuemart 1.1.2 or wait for a 2.0 resolution with Joomla 1.7.

I am about 10 days from starting my project.  What is anyone's thoughts on this?

Thanks for any insight,

Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

muasif80

#76
Hi All,

I have put some effort in working on this stuff. I can share what I have done so far.

1. Made a plugin based on standard payment plugin.
2. Added functionality so that when the radio button is checked for this new payment method, a form appears to take credit card info. Whereas when you select another option it hides.
3. Put the values taken for credit card into session when this method of payment is selected and saved.
4. The last thing remains that is when the order is confirmed I have to use the authorize.net api sdk to send out the payment details to the authorize.net. I hope i will complete this today.
5. I don't know what to do next :)  ;)

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

muasif80

I am happy to say that I have tested with authorize.net test account using the AIM method.

Now it is only a few tweaks that is configuration of keys from the admin side after which this plugin will be complete.
1. Expertise: PHP and JAVA Expert (SCJP)
2. DEV Tools: Eclipse PDT - WAMP - XDebug
3. www.mayotitech.com/products.php

dontflinch

this is GREAT NEWS! please let me know if/when you are ready to have other testers. also ill be happy to ship a bit of cash to you if this works.

muasif80

#79
Hello All,

The plugin developed by me is complete and working.

  • This requires the api key and transaction key to be configured on the admin side.
  • Put the Sandbox setting to false as well.
  • On successful approval of the transaction the transaction id is saved in the db.
  • The license is GPL. Its important to understand that the code for the product is included so anyone can customize it further to get his solution. So if this does not work for anybody he can customize it for his own requirements.
  • The code works with AIM method of Authorize.Net payment option and it only sends out the total payment along with the credit card info to the authorize.net. Some validation work is needed for credit card number and expiry dates. Which will come in the next version.
  • The test values are configured in the admin backend and you will be able to test the plugin without doing any configuration changes for the plugin.
  • For the live mode set the sandbox config to false in the configurations for this plugin. Set the real api and transaction keys from Authorize.net for your merchant account. Make sure that you are allowed to use AIM method of payment for your merchant account. If the transaction fails for anyone he needs to see if a) credit card number, b) expiry is correctly given. Plus the a) api and b) transaction keys are valid and c) sandbox setting is false in the Virtuemart admin back end for this plugin configurations.

Quote from: dontflinch on January 22, 2012, 13:52:20 PM
this is GREAT NEWS! please let me know if/when you are ready to have other testers. also ill be happy to ship a bit of cash to you if this works.

Yes I think so I should earn some bucks for my work. The people on this forum can use the coupon code of d1of10 to get discount on this plugin for a limited time.

The plugin is available on our website. Improvements to the current version will come to you without any cost.

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

vbmoneymaker


muasif80

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

goodfunbag

#82
Quote from: muasif80 on January 23, 2012, 07:11:54 AM
Quote from: vbmoneymaker on January 23, 2012, 01:30:53 AM
What's the website url?

Thanks

It is http://www.mayotitech.com/

After working with them due to a downlaod issue I have received teh file, will update once setup.

muasif80

I have emailed you the plugin. In case anyone else also gets a problem in download I will email it to him. I will fix the download issue on our site soon.

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

mabeall32

could you email me the plugin, Please  :D

jbrunk


muasif80

Quote from: jbrunk on January 23, 2012, 21:10:39 PM
hows this one looking?  it work?


I am also keen to hear from others who have got it. But I can assure that it works while i tested it. I will soon put a demo site in place for this and will communicate about it.

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

dontflinch

hi, I just tried a test order with a live card and it did work, kind of.

it did process but I do not get any sort of verification in the order form in the vm admin.

also it does not look like it passes any of the order values to a.net as here is the process info I got back from them:


========= ORDER INFORMATION =========
Invoice :
Description :
Amount : XXXXX.99 (USD)
Payment Method : American Express
Type : Authorization and Capture

============== RESULTS ==============
Response : This transaction has been approved.
Authorization Code : XXXXXX
Transaction ID : XXXXXXXXXX
Address Verification : AVS Not Applicable

==== CUSTOMER BILLING INFORMATION ===
Customer ID :
First Name :
Last Name :
Company :
Address :
City :
State/Province :
Zip/Postal Code :
Country :
Phone :
Fax :
E-Mail :

==== CUSTOMER SHIPPING INFORMATION ===
First Name :
Last Name :
Company :
Address :
City :
State/Province :
Zip/Postal Code :
Country :

======= ADDITIONAL INFORMATION ======
Tax :
Duty :
Freight :
Tax Exempt :
PO Number :


we get a lot of orders, mostly for the same amount, so we must be able to look in the orders and/or look at the a.net email and tell which ones have been actually approved.

good start though.

hollywooood

This is awesome!!!  I will get the plugin here shortly when i am ready to implement.  Hopefully by then all bugs are worked out.

Looking forward to seeing Muasif80's work.  Thanks Muasif80!!
Joomla 2.5.4
Virtuemart 2.0.6
PHP 5.2.17
MySQL 5.5.21-55
APACHE 2.2.22

muasif80

@D Flinch

Actually I had mentioned in my post that it sends out total payment to the Authorize.Net not other info for the time. I will improve on this and will let you know about this.

Quote5. The code works with AIM method of Authorize.Net payment option and it only sends out the total payment along with the credit card info to the authorize.net. Some validation work is needed for credit card number and expiry dates. Which will come in the next version.

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