#baris-subscriptions

1 messages · Page 1 of 1 (latest)

delicate ginkgo
#

@faint ruin if you use metered billing then the first payment is always $0 (since it's billed in arrears, the customer pays for the usage as part of the next invoice next month)

#

so the PaymentIntent of the first Invoice of a metered Subscription would be null yes, as I think is what you mean

faint ruin
#

Oh I see, thanks. I'm using Apple Pay on React Native where I would need the client secret to confirm the payment. Would this even be possible with metered billings?

delicate ginkgo
#

well there's no payment in this case

faint ruin
#

More precisely I'm trying to build hourly charged subscription. As the subscription starts the first hour should be immediately billed. Is this something that could return the payment_intent?

delicate ginkgo
#

if you don't do that then it's metered billing, so it's charged in arrears so there's no initial payment required, as you've seen

faint ruin
#

Would it be possible to combine them? So the first initial invoice and the metered additional upcomming invoices.

delicate ginkgo
#

yep, the approach I describe above(adding an invoice item to the customer before creating the subscription) will do that

#

it charges the item you added when the subscription is created, then any usage reported gets added up and charged in the next invoice at the end of the cycle in arrears, as normal