#wiiim
1 messages ยท Page 1 of 1 (latest)
๐ Thanks for reaching out
Hey ๐
A scenario came into my mind: We hit rate limiting for the Stripe API for whatever reason, or there is another issue when requesting the api (e.g. finalizing an invoice). Does the Java Client automatically retries after x seconds if it fails?
Yes you can configure retires:
https://stripe.com/docs/rate-limits#object-lock-timeouts
In Java, you can do: Stripe.setMaxNetworkRetries(2);
Oh, alright. That's all?
yes
Okay, thank you ๐ I have one more question about subscriptions. We are backdating every subscription to the first of the month and are waiting on the webhook for the payment success and then generating something in our backend. Would there be a problem (on stripe's side, not our backend side) if we have 10,000 subscriptions? Is the webhook rate-limited too?
Not for webhooks, you may receive them in delay if you are creating multiple subscription in a short period of time...
Great, that'll answer all my questions. Thank you very much ๐
Np!