Pass total amount that is based on a selected option in a drop-down field to the payment field

  • Profile Image
    westmoore
    Asked on April 04, 2018 at 08:37 AM

    Hi, 

    In my online postbox form I want stripe to use the total due filed (calculated based on the selection in the drop down menu) for the payment. How can I do this? 

  • Profile Image
    Mike_G
    Answered on April 04, 2018 at 10:28 AM

    I have checked the Online Postbox Signup form in your account and I see the drop-down you are referring to. I noticed that you have already enabled and set the Calculation Value for each option in that drop-down (Where do you want your address?). And, I see that the value is being passed to the Form Calculation widget (Total due - €) after it.

    I understand that you would like to have the total due passed to the Stripe payment field below your form. And to do that, you just have to change the Payment Type of the Stripe payment field to User Defined Amount and then select the Form Calculation widget (Total due - €) from the Get Price From option

    Here's a screenshot from a clone version of your form:

    1522852031t10_20_59.png

    You can also use this guide as a reference — How-to-pass-a-calculation-to-a-payment-field

    If you have other questions or concerns, please do not hesitate to let us know.