#zooooooooo
1 messages ยท Page 1 of 1 (latest)
๐
Hello!
we wanted to do something like this, but this invoice is kinda awkward ๐
not sure if this was the right chat
asking here is fine ๐
the unit in that image is off, since it's like parts of a host month???
So yeah, the main issue here is that there isn't really a nice way to charge for percentages/non-integer units with our API right now and what you have right now is really the only way to do it today
right.. so we would need to charge by the hour or something ..
another question is: what is the deadline for reporting all usage in a period?
we were worried about the 5m / 1hr after the end of the period deadline in the "report a total usage" case
๐ stepping in as karbi is going to step away
There is a short window for clock drift: https://stripe.com/docs/products-prices/pricing-models#reporting-usage
But really you should not rely on that as we don't guarantee any window and you should report usage within the period
ok
so if we only report daily, we might see extra usage reported the next day I suppose?
Yeah you might miss reporting for the final day of the cycle if you don't take that into account
one last question: is there a portal we can use for SetupIntent?
What do you mean by "a portal" exactly?
we were appreciating the low-code of the checkout flow, but it seems like that is unavailable if we want to use SetupIntent to collect details + manual invoice generation on our end
call a stripe endpoint, get back a url to redirect to that will collect the information needed (billing, location for taxes)