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.
Stripe + metered billing possible through Jotform?Asked by Geert-Jan Brits on September 03, 2013 at 08:31 AM
So Stripe subscriptions are possible through JotForm which is great.
However, our potential users are able to overuse certain monthly quota's (api calls in our cases) resulting in wanting to add micro-payments on top of the monhtly recurring invoice. Stripe enables this by defining a custom endpoint for a Stripe 'invoiceCreated' (or similar) webhook, which can be used by us to add lineitems to the invoice before said invoice is 'closed' after an hour.
Are these Stripe webhooks exposed through Jotform? Or, perhaps I'm not seeing the entire flow correctly and this is something that can be configured in Stripe irrespective of us using Jotform (which would imply it cwould work with Jotform implicitly) . Hmm, hope you're still following.
Good day! We do not have such function with out current Stripe Integration but upon checking with Stripe Website, you can create a Payment for a specific customer. So, I guess you can start from there. Of course, you should ask your customers if they want to continue using subscription and charge them for the over usage or if they want to wait until the next month.
You can either go to Payments Section or to Customers Section
- Find and Click the payment you want to charge
- Find and Click "Create Payment"
- Provide the amount, description and choose the card you want to charge
- Click "Charge Customer" button
However, as you mention, this adds friction by requiring users to accept
the additional charges (those above their usage quota) separately. It's
doable but not ideal.
I'm thinking, since Jotform doesn't interfere with the actual monthly
invoices being sent (only the creation of the initial subscription, am I
correct?) , there's really no reason why what I'm mentioning shouldn't be
possible by directly subscribing to Stripe webhooks as per
advantage would be that, as agreed upon with the customer on initial
subscription, additional charges would be integral to the invoice and is
thus automatically billed. Please shoot if I'm completely wrong here,
otherwise I'm just going to try I guess :)
"If you are subscribing your customer to a plan via the API, you won't be able to add any custom fees to the initial invoice since it will be immediately closed. This means you'll need to setup any custom amounts before the initial invoice is created."
So, it looks like this is something that must be done manually, not through the API. I would recommend you to ask Stripe support if this is something that can be achieved somehow through webhooks, so they would have to provide the script for it, maybe our webhooks feature could help you to make the tricks.