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

    Getting custom Paypal amount from calculated value

    Asked by orymca on June 10, 2015 at 05:45 PM

    Hey support,

    In most of my forms I calculate my payment amounts into a hidden field, then tell the Paypal widget to pull the custom amount from that hidden field. Looks like this during Paypal integration:

     

    Here's the problem. The "Get amount from" option doesn't always show up for me, and I can't figure out why. Here's what I see sometimes when I try to do my regular Paypal integration (whether the donation box is checked or not):

     

    Any hints? Thanks in advance!

    Calculated Value paypal amount custom paypal amount
  • Profile Image
    JotForm Support

    Answered by david on June 10, 2015 at 06:25 PM

    Hi,

    If there is no calculation field in the form, there will not be a field to get the value from.  The option will not be displayed.

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Here it is without a calculation widget in the form:

    And here it is with one:

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by orymca on October 06, 2016 at 04:26 PM

    Follow-up question here:

    I now have a form with a calculation field that will not tell my PayPal widget the amount to charge. Here's one of the calculations:

    Here's what I see when I try to link my calculation field to my widget:

    Any tips? Thanks in advance for your help!

  • Profile Image
    JotForm Support

    Answered by david on October 06, 2016 at 06:15 PM

    The value needs to be captured from a calculation widget:

    https://www.jotform.com/help/259-How-to-Perform-Calculation-in-the-Form

    It is not possible to pass a conditionally updated or calculated value.  An actual calculation widget needs to be used.