#bugkiller.

1 messages · Page 1 of 1 (latest)

glacial questBOT
thorny fractal
#

Hi there!

north edge
#

how are you?

thorny fractal
north edge
#

yes.

#

I think you missed my question

#

how to check if cancelled subsccription is still in cancellation period

#

for example, you made subscription on Aug 15th (paid invocie for it), and cancelled on Aug 19th
this user still need to have access for our website until Sept 15th

#

because even if user is cancelled subscription (monthly for example), his payment is for (Aug 15 ~ Sept 15th 1 month)

#

I hope this makes sense

thorny fractal
north edge
#

I don't think so

#

document is saying like below for this property

#

"You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period."

thorny fractal
#

How do you currently cancel the subscription?

north edge
#

cancel is happened due to failure

#

can you please check this ?

#

this subscription is canceled automatically due to charge failure

#

did you understand my question or not?

#

my question is clear. how to check if user is still in paid period or not

thorny fractal
#

this subscription is canceled automatically due to charge failure
Then it's status is cancelled

north edge
#

yes yes

#

of course, status is canceled. did you read my message??

#

even if subscription is canceled, if you're in paid period yet, then we need to give right access.

#

so we need check if user is in paid period in case subscription is canceled status

#

?

thorny fractal
#

Okay I understand now. Let me check.

north edge
#

thanks

thorny fractal
north edge
#

current_period_end. this is what I've checked for

#

it

#

why it's subscription's current_period_end is 2023-09-27 though?

#

as you can see, paying each month

thorny fractal
#

It's exactly one month after the current_period_start (2023-08-27)

north edge
#

now failed on Aug 26, then it's not in period as I think

#

but for current period, payment is failed. so not in paid period now

#

I'd like to know last paid period end time

grim lance
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

north edge
#

ok

grim lance
north edge
#

what do you mean?

#

did you see image?

grim lance
#

Yes.

north edge
#

and you understood my question right?

#

my QUESTION is how to get period end date (paid period paid paid.....)

#

check this subscription

#

what's the period end date?

grim lance
north edge
#

so you mean, no way to check last paid period end in subscription right?

#

I mean, in subscription object

grim lance
north edge
#

ok

#

I don't understand why this is so hard to make you understand

#

maybe I'm so bad in Eng

grim lance
#

Maybe you could give me your high-level use case, without Stripe concepts, so I could suggest a suitable solution.

north edge
#

is there any way to get latest n invoices by somehow expanding when I retrieve a subscription

grim lance
#

No.