#hongda_44496

1 messages · Page 1 of 1 (latest)

tardy berryBOT
#

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.

scenic mauve
#

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?

uncut pine
#

Thanks for sharing! Looking into it now

scenic mauve
#

Thank you!

uncut pine
#

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

Create and manage subscriptions to accept recurring payments.

scenic mauve
#

Hi, @uncut pine . But I saw from the logs, sometimes the invoice is created on 31th, and sometimes it was created on 1st.

uncut pine
#

Stripe follows UTC to create monthly invoice. If you're checking from the Dashboard, it's in the local timestamp, not UTC.

scenic mauve
#

In my dashboard, if it's local time, all of the invoices should be local timestamp, Right?

uncut pine
#

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

scenic mauve
#

Oh, all process based on UTC. Thanks @uncut pine .

uncut pine
#

No problem! Happy to help 😄

scenic mauve
#

Sorry, one more question...
Is there a way to do hack to make billing to local time?