#novakinn

1 messages · Page 1 of 1 (latest)

opal eagleBOT
grizzled anvil
#

hello! how can I help?

woeful meadow
#

Hello

#

I was wondering if i could charge a customer when he is on a trial period?

#

I tried to create an invoice, finalize it and pay it but it didn't charge immediately

grizzled anvil
#

can you elaborate more on your use case? the idea of a trial is that it's free, that's why you typically wouldn't charge the customer

woeful meadow
#

The thing is that i use a trial to change the billing date

#

and i charge weekly

#

So for example if they were to subscribe today monday 12 i would set a trial period that ended until wednesday 21st

#

but if in the meantime they upgrade their subscription i want to charge them immediately the difference

grizzled anvil
woeful meadow
#

I remember i tried it but it did not work

#

i will try it again

#

is that okay?

grizzled anvil
#

that's an update right?

#

i was referring to creation

#

maybe i misunderstood your requirements

#

do you have a trial only to change the billing cycle? Or you're truly offering a trial to give your customers free usage to try it out?

woeful meadow
woeful meadow
#

you are right

woeful meadow
grizzled anvil
#

it looks fine from a quick glance, but run your code to try

woeful meadow
#

I remember the error now

#

So since the creation date is Monday 12 the latest i could set the billing anchor would be Monday 19th but i need to set it for wednesday 21st

#

That was why i used the trial

grizzled anvil
#

i'm a bit confused, why weds 21st specifically?

#

if i wanted it to charge every weds, then i would set the anchor to 14

woeful meadow
#

yes but since i charge weekly then if they already paid on monday 12 then i would not charge them again on wednesday 14

#

I talked to another of your colleagues the other day and he told me that they don't support that kind of schedule

#

so that is why i use a trial instead

grizzled anvil
#

it's possible to use a trial. I guess i'm just pretty confused about how you're billing. Cause if you're billing by week, then i don't really understand the need to reset the billing cycle anchor.

#

anyway, i think what you can try doing is to add a one time Price when creating the Subscription, that should still be chargable

woeful meadow
#

If my client pays on monday and i create the subscription and i change the billing cycle anchor to wednesday when will my client be charged?

grizzled anvil
#

assuming there's no trial period set - they pay on mon 5, then pay again on mon 12, then when you change the billing cycle anchor (assuming with proration and invoice now) - the invoice will contain :

  • difference between 14 - 19 will be refunded,
  • and they will pay from 14 - 21
#

at least that's what i remember from the top of my head, you can verify this using test clocks

woeful meadow
#

How can i use test clocks?

#

Can i test it directly on stripe? or do i have to use my webpage?

grizzled anvil