#dahri_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1284096344201367584
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- dahri_webhooks, 1 hour ago, 17 messages
- dahri_code, 23 hours ago, 14 messages
- dahri_webhooks, 1 day ago, 42 messages
- dahri_docs, 2 days ago, 16 messages
- dahri_code, 3 days ago, 26 messages
- dahri_code, 4 days ago, 6 messages
hi! any examples like a cus_xxx that is deleted?
it's deleted because you deleted the TestClock associated with that customer
how do we change By providing your card information, you allow CMP Windy Front Booking to charge your card for future payments in accordance with their terms.
sorry? @tall nebula
All the customers created after 6 september were associated with test clock?
not sure, that's something you can check, it says clearly in the Dashboard if a customer is associated with a clock.
alright
one more question i want to ask, if subscription get started in sep 13 and i have advanced the clock to oct 13. should i receive the webhook for recurring subscription?
assuming the clock advanced past the time of day that the subscription renews(subscription.current_period_end's unix timestamp) , yes.
sub_1PyWwrS4f9sxCRXISjhlxmzL
can you please look into this subscription, i have advance clock by one month but did not received webhook. it will be highly highly appreciated
I can help you debug it your side.
first step, retrieve the Subscription from the API and check current_period_end.
second step, retrieve the TestClock from the API and check frozen_time https://docs.stripe.com/api/test_clocks/object#test_clock_object-frozen_time
third step, compare them
fourth step, if the frozen_time seems like it's after the period end, check the Dashboard page for the Subscription and confirm if the events really did not happen or if you missed something or so on.
do that first and if you get stuck we can try to help. As the developer though you need to start things off.
i got it, the invoice is still in draft, idk why. when i advanced the clock to next month i.e. oct
https://docs.stripe.com/billing/invoices/subscription#subscription-renewal
Creates an invoice.
Leaves the invoice in a draft state for about an hour.
so you have to advance the clock to a point after an hour, when it will no longer be draft.
i did not get your point of an hour? like should i increase an hour in advance clock?
Yes, you need to advance the clock to an hour beyond the billing cycle anchor/invoice creation time
Perfect!
when stripe recurring payment fails due to insufficient funds by default it try for 8 times. will i get 8 webhooks? even after handling one webhook properly?
Yes each time invoice.payment_failed will fire
how to see how many tries have been completed?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
on dashboard?