#hongda_44496
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- hongda_44496, 1 hour ago, 2 messages
req_rZ3EFzN1F75h87
Here is the request id, i just got it from my manager.
And I just went through the code, after the new user created, we updated the TrialEnd value for the subscription of the user. Is this the issue?
Thanks for sharing! Looking into it now
Thank you!
This is legacy subscription creation integration using customer creation and plan. The recommended integration should be: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
In any case, this subscription was created on 2023-03-30 22:42:25 UTC. The latest invoice https://dashboard.stripe.com/invoices/in_1OIIzyIfIGoUcPtD2vcxaZnr was created 2023-11-30 22:46:22 UTC which is expected
Hi, @uncut pine . But I saw from the logs, sometimes the invoice is created on 31th, and sometimes it was created on 1st.
Stripe follows UTC to create monthly invoice. If you're checking from the Dashboard, it's in the local timestamp, not UTC.
In my dashboard, if it's local time, all of the invoices should be local timestamp, Right?
From the UTC point of view, for example the 31 Oct invoice, it was created on 2023-10-30 23:46:25 UTC: https://dashboard.stripe.com/invoices/in_1O74BsIfIGoUcPtD2ufcPT3A
All the invoices were created on 30th of the month in UTC. With regards to why the Dashboard sometimes display in 31st or 1st of the month, I'd recommend checking with Support https://support.stripe.com/contact as this channel is for developers and technical integration questions. It's likely there might be daylight saving or time shift in Dashboard display
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Find help and support for Stripe. Our support site 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.
Oh, all process based on UTC. Thanks @uncut pine .
No problem! Happy to help 😄
Sorry, one more question...
Is there a way to do hack to make billing to local time?