Hello, I have created a site where users will have to pay fee for signup, that fee will be calculated using the options the select. I want them to be able to pay their fee using Paypal, I know how to process a fixed amount using paypal but don't know how to process variable amount using paypal. :sad:

Please help me with it.

Thank You.

Recommended Answers

All 3 Replies

In the form you submit to PayPal there is an amount field. You set the value in the form to a variable and you load the variable with the appropriate amount before you display the form.

Ok, I guess by using the Hidden field with the name "amount", am I right?

yes, I believe that is correct.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.