- Geert-Jan BritsAsked 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.
- JotForm SupportWelvinAnswered on September 03, 2013 at 10:20 AM
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.
- JotForm SupportWelvinAnswered on September 03, 2013 at 10:27 AM
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
- Geert-Jan BritsAnswered on September 03, 2013 at 11:13 AMThanks Welvin,
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 :)
- jeanettebmzAnswered on September 03, 2013 at 01:49 PM
"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.