How to pass the total calculation into a payment field?

  • Profile Image
    Asked on October 03, 2017 at 03:04 PM

    I have just reviewed your response for copying a field's content to a Stripe field.  I have used conditional logic, but when I go to TEST the field, it doesn't work.    I want the TOTAL value (field 14) to total of order. (field 16)


    Stafon Levine

  • Profile Image
    Answered on October 03, 2017 at 04:05 PM

    To pass a calculation (total) into a Payment Field amount box, I suggest you see the information found in this guide — How-to-Pass-a-Calculation-to-a-Payment-Field

    I was able to verify the issue you are having on a clone version of the form I suppose you are working on —

    As mentioned in the guide above, you need to have a Form Calculation widget to get the total.

    To get the total in the Form Calculation widget, you can follow the instructions in this guide — How-to-Perform-Form-Calculation-Using-a-Widget

    Then after that, set that Form Calculation widget as the "Get Price From" value of your form's payment field which is Stripe.

    Here's the clone version of your form where I have applied the changes:

    Feel free to clone to form to your account so you can inspect it — How-to-Clone-an-Existing-Form-from-a-URL

    I hope this helps. If you have other questions or concerns regarding this, please do not hesitate to let us know.