#stokedowl
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
Hi Jack, I am new to stripe.
Is this the one - req_kEAG9sbO7VDmTW
Yes that's the one, let me take a look
OK. So the Test clock advancement is in progress when this request is made.
You can retry the request later after the Test clock advancement is completed
How would I know when the advancement is completed?
This in the real time would not happen, i believe?
Test clock is only available in test mode
You can listen to test_helpers.test_clock.ready https://stripe.com/docs/api/events/types#event_types-test_helpers.test_clock.ready webhook event to get notified when the advancement completes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is this ok to use in prod too?
This event won't happen in prod.
ok, I just tried the test_helpers.test_clock.ready but I don't get any information related to subscription that I can use in the event. 😦
This webhook is about test clock, not subscriptions.
But i would need to update subscription metadata and I get the clock error.
in the normal scenario
In test mode, you can listen to totest_helpers.test_clock.ready and only perform subscription update when the test clock is ready.
Sorry, I'm not getting it.
In order for me to update the subscription metadata, I need a few information from the metadata that i would use as a payload for my APIs. I wouldn't get this information from test_helpers.test_clock.ready. How would I do that? Can you share me an example please.
Have you used a webhook before?
Stripe, first time actually
OK, I'll suggest you to go through this https://stripe.com/docs/webhooks/quickstart to get started with webhook.
But I really don't think you need to spend the effort to handle the test clock webhook events because they won't even happen in prod.
To fix your current problem, you should just retry the same request later.