#Lica
1 messages · Page 1 of 1 (latest)
Hi there
Are you expanding the latest_invoice.payment_intent when you create the Sub?
yes
Hmm then you should see the ClientSecret
so basically I have the same code as in the tutoriaöl
Can you give me a request ID for a Subscription creation request?
Ah okay so the initial Invoice is already paid here
And it was a $0 invoice
Looks like you are using a Metered Price
Which will always be $0 on the initial Invoice as it charges based on the usage over the period
So there is no PaymentIntent here for the initial invoice
Are you aware that you are using a Metered Price?
Yes, I am aware that I configured the metered price, but I wasn't aware what consequence it will have
Gotcha
Recommend giving a read through https://stripe.com/docs/billing/subscriptions/usage-based which will talk to you about usage-based billing
thank you
Sure thing
I've created a price without metered option and it works as it should be. Thank you for you great support