Writing Custom Gateway

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sfj
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Tue Apr 22, 2008 9:19 pm

Writing Custom Gateway

Post by sfj » Thu Oct 30, 2008 4:57 am

Hi Guys,

At the computer i am on, we only have the express versions of C#, and Web Developer and I am tasked to write a custom gateway implementation.

I am not like an 'expert' at Visual Studio, but anyway I can debug my gateway through web developer express when I debug the website, even though the code is not really in the website project?

Thanks,

SFJ

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Writing Custom Gateway

Post by mazhar » Thu Oct 30, 2008 11:51 am

I didn't get your point exactly. Do you want to debug your custom gateway with the website?
In Web developer only i think it will not possible for you to create class library. Better you should add your custom class in App_Code folder of website.

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

Re: Writing Custom Gateway

Post by AbleMods » Thu Oct 30, 2008 12:07 pm

sfj wrote:can I debug my gateway through web developer express when I debug the website, even though the code is not really in the website project?
Yes, you VWD will debug as you expect to work for any code or class files you create. It will also debug anything in AC7 where source code is available.

You won't be able to debug or set breakpoints within any code that is compiled i.e. the CommerceBuilder API DLL files. But for your purposes, this should not be an issue since you'll be debugging your own code.

I did development in AC7 for a long time with VWD. Eventually I bought the full VS 2008 so I could compile my classes into their own DLL files.
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

sfj
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Tue Apr 22, 2008 9:19 pm

Re: Writing Custom Gateway

Post by sfj » Sun Jan 04, 2009 3:27 am

Beautiful, I ended up getting around to finalizing the GATEWAY.

It was a lot easier when I got the debugger set up, thanks for the answer back then, this also helped me:

http://www.gamedev.net/community/forums ... _id=408705

SFJ

Post Reply