Em Andamento

Add simple php equation to form

I have a PayPal form that needs a simple math equation added. A user enters an amout into my form and then is taken to the Paypal payment page to make the payment. The user inputs the amout in my form which is sent to Paypal as the amount to charge. I need the Paypal fee added to the amount. Just like what is done here on this site. So for example, if the user enters $[url removed, login to view] in my form the "amount" varible that is actually sent to Paypal is $[url removed, login to view] + 3.5% + .30 = $10.65.

Since my script also uses the IPN to let my script know how much the user has deposited, I believe that the IPN code would also need to be changed so that the user's account shows that they have deposited $[url removed, login to view] and not $10.65.

I have uploaded my current form and IPN code.

Thank you.

Habilidades: PHP

Ver mais: php equation, equation php, equation simple php, php add equation, equation php form, php form equations, add equation form php, php paypal fee equation, simple php equation, form equation php, php equation script, math equation php, add equation website form, form equation scripts, php equation appear form, paypal fee equation, add smiple equcation, paypal math form, equations php, add equation website, php math equation, php form math question, user equations php, simple add equation, paypal fee math formula

Acerca do Empregador:
( 18 comentários ) Avon, United States

ID do Projeto: #131953