Stripe Integration - Quantity field to affect upload limit and payment quantity

  • Profile Image
    Asked on August 22, 2014 at 01:07 AM

    Have a form for submissions of contest entries, but was thinking it would be better to allow multiple submissions per form. Reduced 30c processing fee per transaction, as well as opening opportunity for discounts for quantity. 

    Is there a way to have a quantity field for the Stripe payment widget affect the max number of documents uploaded to the file upload element?

  • Profile Image
    Answered on August 22, 2014 at 06:54 AM


    The Quantity field in the payment tool(Stripe) have NO direct functionality effect on the upload field (uploaded file) of the form. So, I don't think this can be done on the form.

    But I think what you can do instead is to set a LIMIT in the maximum allowed upload file size.

    So this means that the uploaded document can be limited (terms of file size) and you can set the amount charged base on the quantity of uploaded document.

    Hope this help. Please inform us if you need more assistance.




  • Profile Image
    Answered on August 22, 2014 at 09:52 AM

    Thanks Jonno, 

    Yeah, I didn't think there would be a way, but never give up hope until I've asked.

    I've currently set the limit of upload to one and just allowed one payment with each entry needing to be submitted with a new form, but this is a bit of a pain for participants, plus the extra 30c per entry off our income is a bit of a waste as each form is processed as a new transaction. Thinking I may just remove upload limit and then allow participant to choose quantity. Not elegant though as participants can upload more or less than quantity, but is probably a more efficient way for them to enter.

  • Profile Image
    Answered on August 22, 2014 at 10:29 AM

    On behalf of my colleague you are welcome.

    And yes what you stated is true. It would be much more effective to remove the limit so to allow greater quantities to be chosen if stripe is being used because of the way their charges work as there is really not a way to avoid that otherwise.