Can a form pass a total to Stripe?

  • Profile Image
    petruzzo
    Asked on December 06, 2015 at 02: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?

  • Profile Image
    jonathan
    Answered on December 06, 2015 at 05:48 PM

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

     

    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)

     

    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.

     

  • Profile Image
    petruzzo
    Answered on December 06, 2015 at 08:30 PM

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

     

  • Profile Image
    Chriistian
    Answered on December 07, 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.

     

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