#samuelpares

1 messages · Page 1 of 1 (latest)

radiant matrixBOT
remote narwhal
#

Hello! Do you not want to charge the flat fee at all (for future invoices as well)? Or do you just not want to charge it for that first invoice after the trial is over?

nocturne kindle
#

Hello! just for the first, since its a free trial, in my understanding it should not be charged, since the usage itself is not

radiant matrixBOT
remote narwhal
#

Gotcha

#

Can you give some details on how you're modeling your flat fee right now? Do you have a subscription ID we can look at?

nocturne kindle
#

sure
sub_1NccUVJ7VdAVDhbcoUvEx8zy

remote narwhal
#

👍 let me take a look

#

I'm pretty sure this is a bug - give me a minute to repro this though

nocturne kindle
#

okay

remote narwhal
#

Aha, I think this is very specific edge case that's happening because you're using test clocks.

  • The subscription was created while the test clock had a frozen time of 1691447804.
  • You then updated the subscription and set trial_end: now while the test clock was still at that same frozen time

We're not handling this edge case properly, but this is also something that should only happen when you're using test clocks. In reality, time would pass between when you create the subscription and when you end the trial and it should behave as expected

nocturne kindle
#

I understand, thank you very much!