#eriknilsson-stripe

1 messages · Page 1 of 1 (latest)

pliant agate
#

do you still have access to your dashboard?

lethal estuary
#

Yep I do

pliant agate
lethal estuary
#

And there, I can find failed attempts to update customers subscriptions?

pliant agate
#

and filter the API point like this

#

that is the API calls to update/cancel subscriptions

lethal estuary
#

Allright, cool. It does not seems to look right though. Almost no one in there...

#

Can you maybe just confirm... when an account gets frozen and processing stops, does the API also stop? So if a customer cancel their subscriptions and send it to Stripe via the API... does the backend of Stripe also update?

#

Very confused right now...

pliant agate
#

then probably there is no cancellation call
Another thing is that Stripe only keep the requests for 15 month https://support.stripe.com/questions/stripe-request-log-retention-period#:~:text=In live mode%2C users can,90 days from the Dashboard.

lethal estuary
#

Well this was during the last 30 days, so that should not be a problem.

So, when an account is frozen so is the api?

pliant agate
#

I am not quite sure, but all the money movement might be frozen which could include subscription cancellation.

#

Do you mind writing to our support asking this question?

  • So, when an account is frozen so is the api?
  • Can I cancel subscriptions when the Account is Frozen?
spiral siloBOT
#

:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

pliant agate
#

you can use this ^

#

while you are write to support, let me see if I can find anythign

lethal estuary
#

Thanks a lot! Literally awesome support here in Discord haha, better than the one on your site 😄

#

I am just thinking there must be somewhere in Stripe it is recorded that customers try to cancel their subscriptions, even though they cannot be charged...

#

in logs, or failed webhooks, or somewhere!

pliant agate
#

customer.subscription.updated

#

this should include all the update and cancellation events

lethal estuary
#

I can see them there... but the question is if they are from our application or only from within Stripe

#

Like events triggered by Stripe, not by our application

pliant agate
#

can you share an event ID like this evt_xxxxx?

lethal estuary
#

Yes sure! evt_1JVGADHYLcH55FJmE7onVpBt

#

Support says they are "internal events" meaning from within Stripe, not our application

#

Whatever that is supposed to mean haha .

pliant agate
#

Is your system built using ruby?

lethal estuary
#

Yep ruby on rails

pliant agate
#

yup, that was from your application

lethal estuary
#

So support was wrong haha?

#

So this is a cancel subscription request that was sent from our application after our account was frozen that succeeded?

pliant agate
#

The request happened on 2021-09-02 13:41:09 UTC

#

when is your account frozen?

lethal estuary
#

from 27 of Aug

pliant agate
#

I see, then it was after the frozen, so you can still cancel the subscription

lethal estuary
#

Do you think I am onto something here?

pliant agate
#

but just to let you know, that cancellation is cancel at the period end, it is not immediate

#

e.g. for evt_1JVGADHYLcH55FJmE7onVpBt

#

the actual subscription will be deleted on Sep 21st

#

because the subscription billing cycle ends on Sep 21st

lethal estuary
#

But I suppose... if these events were 200 OK then the database when I filter on active/canceled should also be intact?

#

Yeah but then they should stay like "canceling on 21st" in dashboard right?

pliant agate
#

it shoudl

#

let me check

lethal estuary
#

Thanks a lot for your help really appreciate it!

pliant agate
#

it should show something like this. but strange, sep 22 has passed. It should show cancelled instead

lethal estuary
#

So... just to confirm

#

with the knowledge we just aquired, it looks like even if an account is Frozen, the API still runs for cancelations, so if a customer cancel and our application send an event to Stripe, it should update the subscription, even though the subscription wont be able to charge a customer or do anything, its a mere status

#

and hence - I can actually just export all active customers, and that is the actual active customers that havent canceled

pliant agate
#

The customer won't be deleted. only their subscriptions

#

so even customer without subscription will still be active.

#

So you want to get a list of customer who has active subscriptions right?

lethal estuary
#

Yep, so just go to subscription and filter on active

#

and given that our application seems to have been able to communicate with Stripe... it should actually be the correct subscriptions that are shown active

pliant agate
#

right. filter by subscription status will do