
Originally Posted by
felgall
See
https://cms.paypal.com/us/cgi-bin/?c..._htmlvariables for the list of all the parameters that you can pass to Paypal.
The amount is one of the values that you are allowed to pass.
There are a couple of custom fields that you can use to pass values that Paypal doesn't have listed - if you have lots of data that you need to assocate with a payment then store all the info in a database and pass the key of that record in a custom field so you can use it to retrieve the rest of the data.
I checked that site before, I tried sending my price value within HTML with the code given to me when I create a Pay Now button, I tried sending it as a hidden input but it won't work. In paypal it says "Use a line break between each variable. The variables will appear in your button’s HTML code. Learn more" however the code given to me is always the same, I don't see any change.
So if my variables are not supposed to be passed as hidden inputs within the button's form, then how? What am I doing wrong...
Code:
<input type='hidden' name='amount' value='$price'>
The above code is inside the form code generated by PayPal. All of this code is echoed.

Originally Posted by
EastCoast
Thanks for this link, I will look into it.
Bookmarks