#cynefin_30

1 messages ยท Page 1 of 1 (latest)

hoary ravenBOT
kind umbra
#

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?

loud bolt
#

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 ?

kind umbra
#

Can you share an example sub_xxx ID?

loud bolt
kind umbra
#

Oh, the way you described it as if there was an existing subscription that demonstrated this behaviour

kind umbra
#

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

loud bolt
#

This is an example test subscription Object which was created after completing the checkout session

hoary ravenBOT
kind umbra
#

So you do have a sub_xxx ID ๐Ÿ˜ฎโ€๐Ÿ’จ

loud bolt
#
    "current_period_end": 1710255000,
    "current_period_start": 1707749400,

These two keys are the subscription cycle dates right ?

kind umbra
#

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

loud bolt
#
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

kind umbra
#

You can't backdate a subscription start date via Checkout no

loud bolt
kind umbra