how do i push a calculated number into PayPal?

  • marknolha
    Asked on July 15, 2014 at 4:46 PM

    I am selling aged leads.  These leads have a small price e.g. 40 cents per lead.

    We have 6 types of leads.

    Agents need to order a certain number of leads.  They can order 100 of one type, 500 of another type, etc etc.

    I can ask them what type of leads they want, and i can ask them how many of each type.

    Then I open up paypal... and Paypal doesnt give me the options I need.

    Ideally, I would like to push a calculated value into Paypal so the amount comes up for their order, and they approve it, and they're done.

    HELP!

  • David JotForm Support
    Replied on July 15, 2014 at 6:39 PM

    Hi,

    You can push a custom calculated value to your payment form by following this guide:

    http://www.jotform.com/help/270-How-to-Pass-a-Calculated-Value-in-a-Paypal-Field-of-a-Second-Form

    You can setup a custom calculation field to do almost any set of calculations based on any number of fields.  You would then pass then end value from the calculation to the Paypal form.

    Please let us know if this is not what you were looking for and we will be happy to assist you further.

    Thank you for using Jotform!

  • mseghers
    Replied on July 15, 2014 at 7:12 PM

    THanks, I figured it out... it's actually integrated right into the form now.  The "one form calling the other" workaround still works but is unnecessary.

    The trick is you won't see the "calculated field" option even appear in the PayPal form UNTIL you have created the calculated field on the form, and have it appear prior to the paypal field.  Then the Paypal dialog for NFP/calculated changes to show the calculated field(s) to choose from on that form. Jotform was too smart for me...  I couldnt see the calc field there in the paypal field because I hadnt added the calc field yet to the form!

  • Elton Support Team Lead
    Replied on July 15, 2014 at 8:58 PM

    @mseghers 

    Awesome! :)

    Glad you figured it out.

    Cheers!