Post by snover » Fri Jul 20, 2007 10:24 am

Attached (can't attach because the attachments directory is not writable, download here instead: http://zetafleet.com/dev/opencart-0.6.5 ... ze.net.zip) is a payment module to add Authorize.net support to OpenCart 0.6.5 using AIM. OpenCart didn't really have support for back-end payment methods like AIM, so I had to add an additional controller for it (checkout_authorize).

There are three caveats:
1. the order number doesn't get sent to Authorize.net since the order isn't generated until after authorisation succeeds,
2. it can be bypassed by manually going directly from checkout_confirm to checkout_process,
3. it currently only supports credit cards (read: no eChecks).

All that said, it's tested and it works! Since it sounds like OpenCart 0.7 is substantially different and will be released pretty soon, I think that these aren't huge problems. The first two can be fixed easily by modifying some other OpenCart code, but I wanted to release something that didn't require any patching or replacement of the original source code.

[To expand on the above: It's possible to have the order number get sent to Authorize.net in OpenCart 0.6.5 by modifying checkout_authorize to INSERT a blank order before authorising (and deleting the order if authorisation is unsuccessful), and then modifying checkout_process so that it does an UPDATE instead of an INSERT using the order ID that was inserted on the previous page (eg. by setting $_SESSION['order_id']). It's possible to prevent checkout_process from getting called without going through checkout_authorize by modifying it to check for a $_SESSION variable that's only set when checkout_authorize completes successfully. I might release patchfiles later for these two problems if there's demand for them.]

Note also that this archive contains a replacement stylesheet.css containing two new blocks: .payment and .payment .error, so be sure to back up your stylesheet.css before you unzip the attached ZIP if you've made any customisations. No other existing OpenCart files were touched, so any other customisations you've made to your OpenCart will remain intact.

Enjoy! Let me know if you have any trouble.
Last edited by snover on Fri Jul 20, 2007 10:26 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Jul 19, 2007 5:27 am

Post by Daniel » Fri Jul 20, 2007 6:06 pm

Attachment directory is writeable again! Sorry about that.

Attachments


OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by mikeb » Tue Dec 11, 2007 3:29 am

is authorize.net payment module updated for open cart 0.7.7?

Newbie

Posts

Joined
Thu Nov 29, 2007 2:49 am

Post by FireIslandMan » Tue Dec 11, 2007 6:27 am

I need this for OpenCart 0.7.7 too. Anybody get this Authorize.net payment module to work with OC 0.7.7?

Newbie

Posts

Joined
Sun Oct 28, 2007 5:57 am

Post by mltsy » Wed Feb 13, 2008 2:55 am

Ditto.  Authorize.net support would be wonderful! :)

OpenCart has the nicest-looking design out of the box (or out of the zip file I suppose) of any e-commerce system I've used, and is very simple to use.  With Authorize.net support and a few more features, it could be one of the most popular carts available!

Newbie

Posts

Joined
Tue Feb 12, 2008 12:08 am

Post by areese » Fri May 30, 2008 5:03 am

Has anybody been working on this making this module work for 0.7.7?

Newbie

Posts

Joined
Fri May 30, 2008 12:36 am

Post by bruce » Fri May 30, 2008 12:20 pm

I have this module working with 0.7.7. It is for sale at US$250 per store. Installation is included in the price and you also get any improvements/extensions that I make to it for one year.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by areese » Fri May 30, 2008 11:56 pm

PM Sent

Newbie

Posts

Joined
Fri May 30, 2008 12:36 am
Who is online

Users browsing this forum: No registered users and 3 guests