Forum Moderators: buckworks

Message Too Old, No Replies

Can I build my own shopping cart for authorize.net?

         

IntegrityWebDev

9:04 pm on Apr 20, 2010 (gmt 0)

10+ Year Member



Hello all...while I've been coding with PHP for a number of years I've almost always dealt with Paypal when it comes to selling on sites. But now I have a client that needs to sell about 4 or 5 items on her site via Authorize.net. So in that respect I'm a noob.

I know I could do some (all?) of this in Zen Cart etc, and I've actually set up zen cart to play with...

But I'm wondering, is it possible to build something on my own, a small shopping cart for the products that will integrate into her site?

I have used their sample code to build a single button but I really need them to be able to add multiple items.

Any help or direction would be appreciated.

Thanks!
Chris

rocknbil

12:41 am on Apr 21, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



- collect order
- determine total
- use curl (err, the PHP implementation of it) to post to A.N. gateway and receive a response
- based on the response, act accordingly (successful functions or return to form with errors displayed)

All without leaving the client site.

They have test servers to post to while you work out the bugs.

search for "silent post site:webmasterworld.com" in G to dig up some relevant posts, and A.N. will have sample docs for you. Documentation will be your first stop, I think.

So . . . the answer is yes, you'll like it way better than payPal. So will your clients.

IntegrityWebDev

12:29 pm on Apr 21, 2010 (gmt 0)

10+ Year Member



Thanks...will give it a spin!