#krishnaKanabar-test-clock

1 messages · Page 1 of 1 (latest)

tawny trellis
#

👋 Happy to help

#

What issue are you facing?

unique hatch
#

clock id - clock_1LQCYdSJsXH2azWQQuFWlyk1

#

I want to test subscription of $9. First time when user sign up he need to pay $1 for 14 days trial. Yesterday I created subscription for that

#

so JUY 27 - AUG 10 will be trial period. on AUG 11 , $8($9 - $1 of trial) should be deducted. And monthly recurring plan starts. So AUG 11 - SEP 11 will be first month. Again on SEP 11 , $9 should be deducted

#

my first invoice is for time period JUY 27 - AUG 10. Now I want to test second invoice which should contain $8 price for time period AUG 11 - SEP 11

#

to test that i have created this clock but second invoice is getting generated for Aug 11 to Aug 25 of $9 which is wrong

#

@tawny trellis Are you there?

tawny trellis
#

Yes, I'm looking into the subscription (sub_1LQCcfSJsXH2azWQtEkpsl5N) that you're referring to

unique hatch
#

okay

tawny trellis
#

Firstly, when you create a subscription, the timestamp of the clock is frozen at 2022-08-11 15:53:00 UTC

#

Where did you see the second invoice being generated?

unique hatch
#

i set date to AUG 11 so that I can see second invoice

#

I am guessing it was second invoice because amount is $9(Which is also wrong because if it's second invoice amount should be $ 8 and time period should be AUG 11 - SEP 11)

unique hatch
tawny trellis
#

If my understanding is correct, what you are looking for is

  1. Create a trial subscription for 14 days with $1 (Start on Aug 1)
  2. Start charging customer with $9-$1 = $8 after the trial period ends Aug 15 (Billing cycle still remains as Aug 1 - Sep 1)
unique hatch
#

no billing cycle will be aug 15 - sep 15

#

which should cost $8

#

and after sep 15 -oct 15, oct 15- nov 15 , so on ---- $9 should be deducted

tawny trellis
#

I see! Let me think what will be the best way to do this

tawny trellis
#

It looks like you have reached out to Support with regards to this question

#

The suggestion in this thread and Support email is to use Subscription Schedule

#

From the sample subscription, I don't see that you use Subscription Schedule as part of your integration

unique hatch
#

Subscription schedule was not working as per my case

#

so in support mail they suggested me to use coupon

hardy orbit
#

Hi there! We chatted by email about this.

#

Can you share the subscription ID where you see this issue?

#

Are you there @unique hatch?

unique hatch
#

hi

#

I have deleted test subscriptions and decided to go for free trail

#

because stripe does't provide it directly and coupons and all was not preferable choice for us

#

so You can close above issue

hardy orbit
#

I understand, your use case what complex to handle with Stripe, so yes it required some workarounds (either with a subscription schedule or a subscription with invoice_items and coupons).

unique hatch
#

We want card information when user sign up so decided to go for setupIntent

#

Just consider it as a feature as some paltforms want $1 trial

hardy orbit
#

Thanks for the feedback!

#

I'll mark our email conversation as solved. But don't hesitate if you have more questions!

unique hatch
#

sure

unique hatch
#

One more question

#

can i add scrrenshot here from my galary

#

i want to ask question based on card element in stripe

#

how to customize card elment is stripe