Mike in utah
7-23-05, 09:22 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
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