#pavij_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1253618508097392661
đ Have more to share? Add details, code, screenshots, videos, etc. below.
you'll want to listen to webhooks or poll for the state : https://docs.stripe.com/billing/testing/test-clocks/api-advanced-usage#monitor-changes
but the stripe cli fixtures does not support that
if i use a custom script i can do everything. Listen to webhooks, poll the API. ecc, but that defeates the purpose of using the cli to setup the environment
yep that's fair! not everyhting is supported in stripe-cli. I don't think the fixture DSL supports adding a delay but I'll look
doesn't seem like there is
but yeah test clocks can be async and variable in how long they take to advance, using an application-level script in a full programming language where you can make the requests and add sleep()s and things is the best option.
i understand, even a standard sleep() function would be ⨠bless â¨