Variable Amounts

Status
Not open for further replies.

Jackie2009ws

🗣️ Loud Newcomer
May 28, 2025
163
0
161
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.?
 
Status
Not open for further replies.

JohnnyDoe.is is an uncensored discussion forum
focused on free speech,
independent thinking, and controversial ideas.
Everyone is responsible for their own words.

Quick Navigation

User Menu