#krishnaKanabar-test-clock
1 messages · Page 1 of 1 (latest)
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?
Yes, I'm looking into the subscription (sub_1LQCcfSJsXH2azWQtEkpsl5N) that you're referring to
okay
Firstly, when you create a subscription, the timestamp of the clock is frozen at 2022-08-11 15:53:00 UTC
So the trial period is from 2022-08-11 to 2022-08-25 UTC which is the first invoice with $1 of https://dashboard.stripe.com/test/invoices/in_1LQCcfSJsXH2azWQDqtmFgP6
Where did you see the second invoice being generated?
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)
how to test that and generate second invoice of $8 using clock?
If my understanding is correct, what you are looking for is
- Create a trial subscription for 14 days with $1 (Start on Aug 1)
- Start charging customer with $9-$1 = $8 after the trial period ends Aug 15 (Billing cycle still remains as Aug 1 - Sep 1)
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
I see! Let me think what will be the best way to do this
I just checked your past conversation in: https://discord.com/channels/841573134531821608/1001496422283227167
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
Subscription schedule was not working as per my case
so in support mail they suggested me to use coupon
Hi there! We chatted by email about this.
Can you share the subscription ID where you see this issue?
Are you there @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
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).
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
If you have a subscription with a free trial, then you can use pending_setup_intent to collect card information https://stripe.com/docs/api/subscriptions/object#subscription_object-pending_setup_intent
Thanks for the feedback!
I'll mark our email conversation as solved. But don't hesitate if you have more questions!
sure