question

bassel avatar image
bassel asked Jeffrey Blattman answered

Order dates mismatch problem

Hi,
We are having problem with clover dates mismatches, I have been using clover order modified time to filter out orders and pay employees/users of our app accordingly.
Over the last week there has been some problems.
For example this order id: G3T59PEAE317W
has createdTime and modifiedTime on: 7/23 at 12:19 AM
but clientCreatedTime on : 7/22 at 7:41 PM which is on different day.
Same happened with several other orders while on all other past orders the dates are almost the same.

I am most concerned about the dates used by both Clover dashboard transactions app and order receipts, which date does clover use for now or intend to keep using in the future so we can have our data in sync with clover and save us troubles with our users.

Thanks
Orders
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered
Client created time is when the order was created locally on the device. Created time (server created time) is when the order was posted to the server. There's also modified time, which is when the last modification to the order reached the server.

For determining when the order was created Clover apps use the client created time.

Client created time can be very different than (server) created time. When the order gets to the server can depend on network conditions. Client created time is based on the local time of the device which is not always accurate (that's a rather exceptional condition, but it does happen).
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community