Can a form pass a total to Stripe?

  • petruzzo
    Asked on December 6, 2015 at 2:49 PM

    I want my form to walk customers through an order form which, at the end, presents an option to buy only the product which the form brought them to.

    From what I can tell, the payment modules require you to set up specific products and then choose them at that point on the form. I don't quite understand what the point of the form being able to do all these calculations is if you can't pass that total for processing. The Stripe module also doesn't have any real conditional logic options to hide or reveal products based on options from previously in the form.

    So, is there some way to do what I'm trying to do here?

  • jonathan
    Replied on December 6, 2015 at 5:48 PM

    You can achieve this using the Custom Payment Amount option in the Stripe Payment Tool.

    Can a form pass a total to Stripe? Image 1 Screenshot 30

     

    Make sure you have a Textbox field available for the custom amount that will be pass on to the Stripe payment tool (Custom Payment field)

    Can a form pass a total to Stripe? Image 2 Screenshot 41

     

    as you can see on my screenshot above, I have "Total Amount" Textbox field which calculates the Total Amount. Then, I used the field to pass on the total amount to be paid to the Stripe tool as Custom Payment amount.

    Hope this help. Let us know if you need further assistance.

     

  • petruzzo
    Replied on December 6, 2015 at 8:30 PM

    I don't seem to have that option. Is there something painfully obvious I'm missing?

    Can a form pass a total to Stripe? Image 1 Screenshot 20

     

  • Chriistian Jotform Support
    Replied on December 7, 2015 at 12:02 AM

    Hi,


    As per further checking, for the Get Amount From field to show in the payment wizard you need to have a at least one calculation widget in your form.

    Can a form pass a total to Stripe? Image 1 Screenshot 30

    Can a form pass a total to Stripe? Image 2 Screenshot 41

     

    Do let us know if you need further assistance.
    Regards.