#eriknilsson-stripe
1 messages · Page 1 of 1 (latest)
Yep I do
cool, you can go to logs section in your dashboard https://dashboard.stripe.com/logs
And there, I can find failed attempts to update customers subscriptions?
and filter the API point like this
that is the API calls to update/cancel subscriptions
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...
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.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
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?
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?
: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
you can use this ^
while you are write to support, let me see if I can find anythign
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!
Definitely from logs https://dashboard.stripe.com/logs
and the events https://dashboard.stripe.com/events
you can filter the event by type customer.subscription.updated
customer.subscription.updated
this should include all the update and cancellation events
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
can you share an event ID like this evt_xxxxx?
Yes sure! evt_1JVGADHYLcH55FJmE7onVpBt
Support says they are "internal events" meaning from within Stripe, not our application
Whatever that is supposed to mean haha .
Is your system built using ruby?
That looks like come from your application and you can go to your dashboard and see it here https://dashboard.stripe.com/logs/req_V7IbXRny1QcdqP
Yep ruby on rails
yup, that was from your application
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?
from 27 of Aug
I see, then it was after the frozen, so you can still cancel the subscription
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
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?
Thanks a lot for your help really appreciate it!
it should show something like this. but strange, sep 22 has passed. It should show cancelled instead
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
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?
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
right. filter by subscription status will do