#Nadiya

1 messages · Page 1 of 1 (latest)

thick beaconBOT
little imp
#

Are you looking at the EVENT creation date and wondering why that specifically is not tied to the test clock date?

slow lily
#

yes right

#

invoice.paid => created shows the advanced time

little imp
#

Gotcha, so that behavior is expected. Webhook event creation dates aren't tied to the test clock time - the creation timestamp on the individual objects (like the Invoice or the Subscription will reflect the test clock)

slow lily
#

but charge.succeeded => created shows today's date

#

here, in the activity timeline, it shows the test clock time, but in the charge object, its different (today's date)

little imp
#

Yeah, that's expected (sorry it's not well documented) - the Charge object needs to use the creation timestamp of the actual time (not the test clock time) because of how we calculate balance for an account

slow lily
#

okie, understood.
Thank you