#Clément

1 messages · Page 1 of 1 (latest)

vale willowBOT
opaque spoke
#

I'm hesistating beetween licenced and metered plan.

mystic imp
#

Hi 👋

What is your question about them?

opaque spoke
#

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

mystic imp
#
  • Usage records, that makes sense
opaque spoke
#

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"

mystic imp
opaque spoke
#

req_GuWSlvDfQpesqg

#

My price is defined as "sum"

#

max during the period

vale willowBOT
red hornet
#

👋 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?

opaque spoke
#

Sorry, yep

#

1, 2, 3...

red hornet
#

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

opaque spoke
#

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)

red hornet
#

Can you repeat your licensed vs metered question? I didn't see it when I skimmed through the history

opaque spoke
#

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)

red hornet
#

Yeah I'd suggest billing that separately as a licensed price

#

(you can combine licensed and metered prices on the same subscription)

opaque spoke
#

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

red hornet
#

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

opaque spoke
#

Understood.

#

So no yearly for now 😉

red hornet
#

Yeah if you're worried about that I'd just suggest doing monthly

opaque spoke
#

Now time to parse these JSON !

#

Thx for your time !