hey all, im trying to improve the shopping cart thats free with paypal by adding a inventory checking feature before it runs the shopping cart url. so far im stuck. ive got the database, ive got the script to check the database for the product number and see if its quanity is greater than or equal to 1, thats not a problem. i just dont know how to send the user to the fancy paypal shopping cart url. its got so many "" and '' in it that php gets all messed up and it doesnt work (even when i take them all out of the paypal url).
things ive tried:
i though that maybe if the value was true that there was more than 1, i could just let the script go and use a meta refresh to add it to the shopping cart, but that didnt work.
i tried to directly send to the url using header( location: url ); but that didnt work (well it worked for sending the person to the page if there was no inventory, but not in adding the item to the cart).
please any help is appreciated.. thanks !