What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to add the PayPal processing fee to the total amount calculation when users select to pay through PayPal?

    Asked by Bryan Appleby-Wineberg on February 11, 2017 at 03:49 PM

    I have a similar question:  For PayPal I am using a total generated in the form (with the widget).  The TOTAL is what the customer uses for either paying by check or paying via PayPal.  When they click the PayPal option it hides the Pay By Check option and kicks them to the PayPal section.  I need to take that total and add the PayPal fee (2.9% + $.30) to it so they can make their PayPal payment and we don't get stuck with paying the fee.  


    How do I do this?

  • Profile Image

    Answered by Boris on February 11, 2017 at 08:01 PM

    You can have one form calculation field performing your usual calculation for the total amount to be paid, and then another form calculation field that takes the value from the first calculation, and adds the fee amount to it:


    Then, you would simply pass the value from this second form calculation to the PayPal payment field, so if PayPal is selected, the user will pay the amount with the added fee:


    Upon checking out your forms to provide an example, I see that you have already achieved this on your forms:

    If you need any further assistance, please let us know. Thank you!