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 collect custom amount invoiced payments through PayPal

    Asked by EOTW on January 07, 2017 at 10:25 AM

    I would like customers to be able to pay their invoices online.  They receive their invoice by printed mail.

    I need to add a surcharge to the invoice if they pay online.

    So i need them to enter the amount of the invoice, and then I need to automatically add a service fee, to come to a total that they agree to pay via paypal.

    How would I do this?

    Thank you

  • Profile Image
    JotForm Support

    Answered by Boris on January 07, 2017 at 12:10 PM

    You can do this by (1) having a Number field on your form where users would enter their amount manually, (2) having a Form Calculation where you would calculate a total amount based on what they entered on the Number field, and then (3) pass this calculated amount to PayPal for payment.

    Step 1: We add a Number field.

    Step 2: We create a form calculation, and set it to calculate the number field plus our service fee.

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    Step 3: We pass the calculated total to the payment field:

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    Please see the following demo form of this kind of setup:

    https://form.jotformpro.com/form/70064379982971

    Please try it out, and let us know should you need further assistance.