#wyllyjon - Uncollectable Subscriptions.
1 messages ยท Page 1 of 1 (latest)
hi ๐
You should be able to make individual API requests that do not result in timeouts though
The thing is that I have to update my db entities, so I make a request to Stripe for each entity in a loop. And I have a mysql timeout
I think if I could update my entities without making Stripe request, I would not have a timeout.
But I would have to make my request after
So I wonder if I can change all the subscriptions in one request
And that is what you cannot do
But you should be able to adjust your DB update query actions. For instance, changing the subscription results in a customer.subscription.updated event
https://stripe.com/docs/api/events/types#event_types-customer.subscription.updated
I have my own event handler that updates my local DB using an async threading approach