How to pass calculated value to payment field

  • Coastside_Fishing_Club
    Asked on August 4, 2017 at 4:10 PM

    I just need to get the totals that have been calculated in the form into a total amount (I'll hide the fields later) into the stripe payment box.  Just hit a wall on this one.  Seems like it should be simple.  I really like the expansion approach putting in a number and the reg name boxes appear (adults and kids separate and different pricing)

    thanks in advance

    Pete Yeatrakas 

     

    https://form.jotform.us/72155330284148

     

  • Support_Management Jotform Support
    Replied on August 4, 2017 at 5:57 PM

    Hey Pete, the guide I'm linking below will surely help. Basically, what you need is to set your total calculated result as the GET PRICE FROM option of your Stripe Payment Field.

    How to pass calculated value to payment field Image 1 Screenshot 20

    Just ensure you're using a Form Calculation Widget since GET PRICE FROM can only fetch values from the widget. If you're using a regular Textbox field for your total calculated result, just replace it with a Form Calculation Widget so you can pass it to your Stripe Payment Field.

    Complete guide: How-to-Pass-a-Calculation-to-a-Payment-Field