What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Can a form pass a total to Stripe?Asked by petruzzo 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?
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.
I don't seem to have that option. Is there something painfully obvious I'm missing?
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.