#dishant_api
1 messages ยท Page 1 of 1 (latest)
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.
- dishant_api-authentication, 1 day ago, 9 messages
๐ 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/1230410357982367887
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
As you can see
Customer made payment yesterday but the receipt is not showing the same date
I checked the stripe json payload of charge.succeeded it also shows created at 18th Apr
Any specific reason behind this date mismatch?
Can you share the Payment Intent (pi_xxx) for this payment?
pi_3P6kReAIUNGSZ1EU3FPrgmQj
Where did you see Last update and Date paid? The reason is likely due to different timezones in these two places - one is UTC and one in local timezone
Okay
What is stripe considering while prcessing the payment?
I saw Last Update in payment detail page of stripe & Date paid is in stripe's receipt link
Any update?
for this
All the timestamps in Stripe API are in UTC.
For timestamp viewed in Dashboard, it'll be the timezone set in https://dashboard.stripe.com/settings/account
For receipt link, it'll be the timezone of the connected account processed in
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
can we set the timezone by API or statically somewhere for all conneted accounts?
Checking if this is possible
Okay
Unfortunately, changing the timezone of the connected account via API will not be possible
Unless the connected account holder change the timezone themselves in the Dashboard
Okay
But I still don't get it like why there is 2 different dates are shown in stripe dashboard
also in charge.succeeded webhook response it is also 18th April
Whay in pyment detail page stripe is showing 17th April
Is it because that connected account;s timezone?
Receipt email with Date paid is the timezone that the customer will see which is the connected account timestamp in UTC.
Last paid is your own platform timezone in EDT
In summary:
- Payment detail page - platform timezone in EDT
- Receipt - actual receipt that customer received in connected account timezone in UTC
If you convert timestamp from EDT to UTC, they are the same timestamp
Any timestamp in Stripe objects in API or events are all in UTC
This is I got
Understood
This looks correct to me
That's why you see two different timestamp due to the timezone displayed in these two places
Correct
Thank you @karmic wing for the clarity ๐