Try trimming the number before you send it.  PayPal might not be liking the
spaces.
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 10:33 PM
Subject: output a # ?


> ok, i have a form that adds up some form money totals then it should be
> inserted into a paypal buy button as a dynamic total.
>
> the variable for the purchase total is ummm   #total#
> it on its own output the total as a whole #, like 25 then when i need to
> display it i use dollarformat.
>
> and this is what i put into the form to add the total
> "#numberformat(total, '_____.__')#"
> hoping that it would input the total as 25.00 and send it to paypal as
such
>
> but i get this error from paypal
>
> Error Detected
>
>
>
>
>  You have entered an invalid amount. Please make sure that all punctuation
> marks are in the correct places and that you only include the numeric
> portion of the amount. For example, if the amount is five U.S. Dollars,
> you would enter 5.00.
>
>
> any thoughts?
>
>
>
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to