#Clément
1 messages · Page 1 of 1 (latest)
I'm hesistating beetween licenced and metered plan.
Hi 👋
What is your question about them?
My service helps restaurant to convert missed calls onto customers, by sending them an SMS when the restaurant (my customer) is missing a call.
So, for SMS, i'm 💯 with metered
- Usage records, that makes sense
But. I'm hesitating for phone numbers, as it won't be something that will change from 1-100 per customer
Usually they have 1, maybe 2 phone numbers, rarely more
Plus, yesterday I tried to "increment" the metered value
But I think I have a sort of weird behavior
It's only showing "1"
Can you share the Request ID for the API request?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
👋 Hopping in to help! Give me a minute to catch up
Instead of seeing a bunch of "1" 's for the various timestamps, what behavior are you expecting instead? Are you trying to increment the usage that already exists for the subscription item?
Gotcha - so if your goal is to increment the value like that then you need to be setting the same timestamp instead of setting timestamp: now
By passing in timestamp: now we're checking what the usage is at that timestamp (0) and incrementing it by 1
Oh.
OK, and regarding my question for licenced vs metere
coz' if I'm right, at month M+1, usage will return to 0
(It's my first side hustle with metered)
Can you repeat your licensed vs metered question? I didn't see it when I skimmed through the history
This project is here to help restaurant (i'm french, and we love restaurant) to convert missed calls onto customers, by sending callers SMS. By default, I'm covering 1 line
But some restaurants could have 2 places
and thus 2 phone lines to cover
For SMS, I'm perfectly aware that I need metered usage
But for phone lines, I'm not really sure
assuming it's not a qty that will change every single day
(as opposed to messages sent)
Yeah I'd suggest billing that separately as a licensed price
(you can combine licensed and metered prices on the same subscription)
Ok, and as you're here
one more question
if I'd like to propose a yearly plan for my customers
Aren't metered plan charged at the end of currentPeriodEnd
It means that they'll pay after 1 year
and not upfront which is kinda risky
If you're splitting into two prices the licensed one would be paid at the start and the metered one would be paid at the end
There isn't really any way around paying at the end since the usage is accrued as they go
Yeah if you're worried about that I'd just suggest doing monthly