I have tried everything and i just cannot figure this out. Here's the situation. I have a client that had his site made by someone else and wants to stop using the Shopping cart that they set him up for and wants to use paypal. I need someone to point me in the right direction or write the code snippet to pass the variables of each DVD he's selling to paypal.
Here is the old code
<form action=\"http://www.cartserver.com/sc/cart.cgi\" target=\"_blank\" method=\"post\">
<input name=\"item\" value=\"s-2990^CAT".$this_data['id']."D^Catfishing with the Pros, ".$this_data['title']." (DVD)^".$dvd_price."^1\" height=\"0\" type=\"hidden\" width=\"0\">
<input name=\"add\" src=\"images/buttombuy.gif\" border=\"0\" height=\"15\" type=\"image\" width=\"60\">
</form>
I need to update it to use paypal. I have the link to pass the variables but could someone give me a hand at writing the url for each button...
I am probably just missing a comma or apostrophe...
https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&
[email protected]¤cy_code=USD
Thats the link, now I need to append &item_name=, for the Items name, and &amount=, for the price, to that url. I need to fetch those 2 things using variables. Can someone help me out with that?