PHP PAYLAP sandbox buy now button - urgent help required.
I'm trying to sent 1 piece of information through ($number). Here is the script I have for the button:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="LD9GZX7SB2ETS"> <input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form>
<input type="hidden" name="number" value="<?php echo $number; ?>" />
In a nutshell, I need to send the value for $number to paypal so it will send it back to the success URL and I can use it from there.
So far, I have spent about 8 hours trying to figure it out, reading pages of Paypal's documentation, and other forums etc. (I like to try and RTF Manual before asking for help - it's more of an achievement that way) but I've spent as much time as I can afford on it now.
Any pointers to useful tutorials, or explanations would be MASSIVELY APPRECIATED.
Thank you in advance,
Andy.
"Who Else Wants To Learn The Hidden Secrets Of Quickly Turning 10 Minutes Into A $474.99/Month Income Generator?"