Click to See Complete Forum and Search --> : Encountered a problem with PayPal's shopping cart. Need some Advice.


Mike Burdick
07-23-2005, 08:27 PM
Okay, I need your help!

I have written my own shopping cart and I use Paypal to process it. I do this by sending each item to them thru hidden fields. This works fine but now I have discovered a little problem with having a “coupon” to get something free if one buys other items. At first I thought this programming was going to be easy since I could just add a line item that had a negative cost with it. Well…Paypal won’t accept negative numbers! To make it even harder, they won’t even accept zero as a price. I know I could discount each line item price to equal the discount but people just don’t understand this…they want to see the word “FREE” on something. Does anybody have a suggestion(s) on how I might “program around” this problem?

Thanks!

Mike

wheelerch
07-24-2005, 07:25 AM
I'm not too sure about the paypal side of things, but if the items free, you could just not send it to paypal at all, and just let the customer know they will be receiving it with their order...

You might get more response from the forums on http://developer.paypal.com/