#noldidrita

1 messages · Page 1 of 1 (latest)

heady galeBOT
solid atlas
#

Hi there!

#

There's no automatic way of doing this. But yes you can listen to webhook events to know when a new card is attached to a customer, and when that happens remove the previous card (if any)

valid shoal
#

Thanks! Can I ask another question?

I'm trying to setup a billing flow for Regular customers and Enterprise customers. While regular customers should be billed normally, enterprise customers are billed at the end of the billing period (after we calculate the usage quota). Is there a clean way to handle this, or should I just play around with billing period (set it up as 1 month in the past and somehow disregard that first invoice)?

solid atlas
#

Thanks! Can I ask another question?
Sure!

regular customers should be billed normally,
You mean billed at the beginning of the billing cycle? Yes that's the default behavior.

enterprise customers are billed at the end of the billing period
You could use metered pricing, which does bill at the end of the billing period based on usage https://stripe.com/docs/products-prices/pricing-models#metered

valid shoal
#

Yea, I did see that, but for some "not mandatory" reason, we'd like to have graduated/volume based pricing instead of metered pricing. Is there a way to achieve this with those pricing models, or should we just switch to metered pricing?

#

I checked out the docs again, and I now see why my question is stupid. We'll just switch to metered pricing.
Thanks for your support!

solid atlas
#

I think if you need billing at the end of the billing period, you have to use metered pricing.
But there may be workarounds, like not using metered pricing, but make the first invoice for $0. This way when then recieve the second invoice (at the beginning of the second billing period) it looks like they are paying for the first month.

valid shoal
#

Thanks!