#cynefin_30
1 messages ยท Page 1 of 1 (latest)
But while integrating stripe the billing cycle start and end time are the current exact time, Is there any Possible way so that I can change the stripe billing cycle as per my current Payment design ?
Can you share where you see matching timestamps? Is it the API, on an invoice?
its in API, lets suppose I created a checkout session, user pays via that session and gets associated to a subscription, In the subscription obj current_period_start and current_period_end I want this to modify as per my Design
@kind umbra are there any workaround to achieve this ?
Can you share an example sub_xxx ID?
Please confirm If I am making sense to you in the first query ๐ ?, becoz I am not pointing any subscriptionId, I am asking in the context of developing a subscription feature in my App
Oh, the way you described it as if there was an existing subscription that demonstrated this behaviour
Well sorry for that ๐
But while integrating stripe the billing cycle start and end time are the current exact time
If there's no example, how can you conclude this?
I need to see an example because I don't understand what you're describing
This is an example test subscription Object which was created after completing the checkout session
So you do have a sub_xxx ID ๐ฎโ๐จ
"current_period_end": 1710255000,
"current_period_start": 1707749400,
These two keys are the subscription cycle dates right ?
Taking a look
Not sure what the issue is?
1710255000 is Tue Mar 12 2024 14:50:00 GMT+0000
1707749400 is Mon Feb 12 2024 14:50:00 GMT+0000
currently my App's payment design is such that the billing cycle for eg: If someone buys at the present moment, the subscription starts in a past date like the beginning of the current day 00:00:00 hrs, and ends similariy after 1 month at 23:59:59 hrs.
Can I achieve this with stripe, Can I modify the current_period_start and current_period_end as per my App's payment Design
You can't backdate a subscription start date via Checkout no
You'd need to use the API custom flow: https://stripe.com/docs/billing/subscriptions/backdating
Yes I have been busy reading docs couldn't conclude so I asked in the dev-help
You can control the billing anchor, but only in the future: https://stripe.com/docs/payments/checkout/billing-cycle
Taking a look at it ๐