#hsoftware-display-usage

1 messages ยท Page 1 of 1 (latest)

uneven thorn
#

Hi ๐Ÿ‘‹

frozen pumice
#

hi!

uneven thorn
#

I don't believe so we have any sort of pre-built UI for showing usage information. The only place I can think of where it mightbe, is in the Customer Portal, but I don't think it has it.
https://stripe.com/docs/billing/subscriptions/integrating-customer-portal

Usage would be tricky for us to display, because all we know is what usage information we've been provided. So we don't have insight into typical upper/lower bounds for the usage or typical ranges.

frozen pumice
#

Makes sense, and thanks for sending over the customer portal. Can customers preview invoices on the customer portal before the end of the month?

uneven thorn
#

I don't believe so, I think they can just see current and past invoices.

frozen pumice
#

Aaah, okay thanks!

#

Could you advise on a design pattern then? If a b2b usage based company is doing billing do they typically have to save usage records to their db and then sync those records with Stripe, or is there a different design pattern you'd recommend?

#

I'm asking because of the following: Say we start selling a new product, or get into a new market with different billing. If we have to save usage records into our db we would still be limited by the capabilities of a home-brewed solution, even though we're using Stripe. Does the question make sense?

uneven thorn
#

Yes, you would need to track usage on your end. Stripe does not have mechanisms for tracking usage in general, we accept the usage that you track as an input for calculating payment amounts.

frozen pumice
#

Okay, thanks! Do you have any examples or suggestions of best practices of what to include in a usage schema? I also understand if this is outside of the scope of this channel.

uneven thorn
#

That I'm not sure about, and assume it depends on what is important for you to track.

frozen pumice
#

Okay, thanks! I'll ask additional unrelated questions in a separate thread. Let me know if there's something else you all prefer.

uneven thorn
#

๐Ÿ‘ we don't have a strong preference on whether to keep using a thread or starting a new one.