Our valued sponsor

Variable Amounts

Jackie2009ws

Banned
BANNED MEMBER
Sep 10, 2009
162
0
16
Hi all, I plan to set the amount that is passed to Paypal from a variable called donation set in Javascript, which has been converted to a string: var passdata=unescape(location.search.substring(1,location.search.length)) document.myform.email.value=passdata var donation = passdata+'' then I use the following in th epaypal form fields: input type="hidden" name="amount" value="donation" However, when it goes through to paypal, I get the following error message: 'The link you have used to enter the PayPal system contains an incorrectly formatted item amount.'


any ideas.?