Integration With Netsuite

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
vashts1980
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Fri Apr 29, 2011 2:56 pm

Integration With Netsuite

Post by vashts1980 » Fri Apr 29, 2011 3:01 pm

I am looking to build some form of integration with Netsuite. Basically, when an order is submitted online it sends the order info to Netsuite. And any updates on the order within Netsuite get sent back. Handling how Netsuite manages the information I already know how to do, but I am uncertain as to how to handle AC7 in this manner. Any information on how to do this or a link to some form of guide would be great. As it is, it seems like it should be simple to take a new order and once it gets entered package the information into XML and send it off. I'm just new to AC and not yet sure of its functionality.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Integration With Netsuite

Post by AbleMods » Sun May 01, 2011 8:14 am

The best place to start would be the AbleCommerce Wiki. You will find a great detail of information on the AbleCommerce API and it's inner workings. You can find the wiki here: http://wiki.ablecommerce.com

You might also want to review some of the technical articles and posts I've written on my website. Many can also be found here in the forums, but the forum search feature isn't all that stellar. There are two places to look within my site: My support forums http://www.ablemods.com/support/default.asp?W17 and my blog http://www.ablemods.com/blog

When interracting with orders, the common place to "hook" into AC7 is the checkout page. This code is found in the /ConLib/OnePageCheckout.ascx user control. Within checkout you'll find two routines void CheckingOut() and void CheckedOut(). These two are events fired when the checkout is in progress and when it is complete respectively.

Most of the time I work in void CheckedOut(). That's when the checkout is complete and you can parse for any checkout errors or identify the OrderId of the order created. void CheckedOut() is called prior to the receipt page being displayed, so it's a good place to "intercept" the order checkout and make changes before the shopper sees the rendered receipt page. Works great for sneaking in discounts and credits.

The rest of your work will probably involve constructing serializeable object classes that align with the Netsuite API and a web service to establish communication.

I know it's alot of reading, but like they say, 90% planning means only 10% work - good luck with your project!
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

vashts1980
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Fri Apr 29, 2011 2:56 pm

Re: Integration With Netsuite

Post by vashts1980 » Fri May 06, 2011 8:58 am

Thank you, Joe. This is the info I was looking for.

Tubeless
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Mon Aug 15, 2011 10:32 am

Re: Integration With Netsuite

Post by Tubeless » Tue Aug 16, 2011 6:45 am

Has anyone setup any type of import of orders from AbleCommerce to Netsuite? If so how?

Post Reply