#dahri_code

1 messages ¡ Page 1 of 1 (latest)

ocean epochBOT
#

👋 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.

mint patrol
#

hi! any examples like a cus_xxx that is deleted?

rose pewter
#

"cus_QqBtZlK60qbDHi"
deleted customerId of one of customer

#

heyy

mint patrol
#

it's deleted because you deleted the TestClock associated with that customer

rose pewter
#

alright, thanks.

#

much appreciated.

tall nebula
#

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.

rose pewter
#

sorry? @tall nebula

mint patrol
#

@tall nebula use the form in #help to ask questions.

rose pewter
#

All the customers created after 6 september were associated with test clock?

mint patrol
#

not sure, that's something you can check, it says clearly in the Dashboard if a customer is associated with a clock.

rose pewter
#

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?

mint patrol
#

assuming the clock advanced past the time of day that the subscription renews(subscription.current_period_end's unix timestamp) , yes.

rose pewter
#

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

mint patrol
#

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.

rose pewter
#

i got it, the invoice is still in draft, idk why. when i advanced the clock to next month i.e. oct

ocean epochBOT
mint patrol
#

so you have to advance the clock to a point after an hour, when it will no longer be draft.

rose pewter
#

i did not get your point of an hour? like should i increase an hour in advance clock?

whole wind
#

Yes, you need to advance the clock to an hour beyond the billing cycle anchor/invoice creation time

rose pewter
#

yes, received webhook

#

thank you so much

whole wind
#

Perfect!

rose pewter
#

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?

whole wind
#

Yes each time invoice.payment_failed will fire

rose pewter
#

how to see how many tries have been completed?

whole wind
rose pewter
#

on dashboard?