Shopping carts / e-commerce tuts & books?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Shopping carts / e-commerce tuts & books?

Post by Chris Corbyn »

Does anybody know any decent online tutorials or text books for writing shopping carts in PHP?

I've never done it. I've always been confused how you go about testing it (as in how do you test if making a payment actually does what it should do without actually making a payment?). :? :oops:
rdionne1187
Forum Newbie
Posts: 17
Joined: Tue Feb 01, 2005 9:30 am
Location: CT

Post by rdionne1187 »

lol you could try paying yourself
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

the easiest is to ask your payment service how to do this ;)

otherwise you can create items that cost $0
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Does anybody actually write their own shopping carts or just use pre-written one like the stuff that comes bundled in CPanel? It's something I'm now thinking is imperative for me to learn to make custom ones for business. I know it's a wide area, I just need something to get me started.

timvw... never thought about making items for 0.00 - that'd work well anyways. Cheers.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

making a shopping cart isn't difficult.. the hard part comes when doing order processing and payment handling. I always contract a third-party for payment handling, as then I don't need to take the pain of having to be audited by the credit card companies and such. Plus if there is a problem with the credit card information getting out, most often it's not because of my service, but the provider of processing.. so liability is shifted away from me or whoever uses it.

Even order processing isn't too difficult now that USPS and other shipping companies have opened up their pricing systems for retailers to get live quotes.

True, they get a cut, but it's rarely a "large" cut.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

By order processing companies do you mean somebody like worldpay or something?
Post Reply