Payment Integration: Allow "Custom Amount" option to be added together with the products with fixed prices

  • Profile Image
    Asked on December 09, 2015 at 06:40 AM

    I am looking to set up a Stripe integrated payment form that requires a free field for the price. This could be a form simply with a field for PRODUCT DESCRIPTION and a field for PRICE that the user fills in themselves or perhaps some presets and then just a user defined price field such as this...

    1) Product A - £10

    2) Product B - £20

    3) Other - £enter amount

    Are these scenarios possible? Thanks

    This is a re-post of a comment on Setting Up Your First Order Form

  • Profile Image
    Answered on December 09, 2015 at 09:35 AM

    This should be possible, here's a sample test form: 

    Here's how I setup mine:

    1. Add a product that will serve as the custom input for other amounts. Here, set the price to "1". Click the "Add New Option".

    2. Here, select "Add Quantity Property" and check "Custom Quantity (Text Box)".

    3. Change the name here, in my case, I changed it from "Quantity" to "Amount". Set the default quantity to "0". With this format, any quantity is multiplied to $1.

    4. Here's an example with the live form, entered "5" on the "Custom Amount" product, 5 x $1 = $5. 



    You can try this on your form, if you need any adjustments on it, please let us know and we will help you further.

    Thank you.

  • Profile Image
    Answered on December 09, 2015 at 10:14 AM

    Thanks Charlie. The ideal would be to simply enter the exact amount of course to include pence/cents. This however is a nice work-around, it might work.

  • Profile Image
    Answered on December 09, 2015 at 11:52 AM

    Yes, that will be the limitation of the workaround, it can only accepts only absolute values (without the cents).

    Another possible workaround is to recreate all your products using simple form fields, sum them up using the form calculation widget and pass them to your payment integration. Here's an example:

    1. I will use check box field to represent the products with fixed prices. I will assign calculation values on them by following this guide: 

    The custom amount field will be a simple text box.


    2. I will then use a form calculation widget to sum up the selected products on the check box and on the text box.

    3. You can fetch the form field values by clicking the "Add Field" button.


    4. After that, you can pass the initial total to your payment integration by following this guide: 

    You can see how it works here: 


    I have also forwarded this to our developers as a feature request. However, I'm unable to guarantee that this will be implemented anytime soon. But we will update you on this thread as soon as we hear any news.

    Thank you.

  • Profile Image
    Answered on December 09, 2015 at 02:24 PM

    Great, that covers all bases in a round about way. Thanks for your assistance.

  • Profile Image
    Answered on December 09, 2015 at 04:44 PM

    On behalf of my colleague, Charlie, you are most welcome. :)

    If you need any other assistance or if you hit any snags while setting it up, please don't hesitate to contact us, and we'll do our best to help.