My app takes certain actions when orders are closed. A merchant who uses my app has poor internet, and many orders that they say are "good" orders. Is there a better way to test than if an order's state is still "open"? Here is an example of one such order.
( [href] => https://www.clover.com/v3/merchants/xxxxxxxx/orders/TR652JZYESJG4 [id] => TR652JZYESJG4 [currency] => USD [employee] => stdClass Object ( [id] => xxxxxxxx ) [total] => 3037 [orderType] => stdClass Object ( [id] => A9N25GV2C8N8M ) [taxRemoved] => [isVat] => [state] => open [manualTransaction] => [groupLineItems] => 1 [testMode] => [createdTime] => 1455228771000 [clientCreatedTime] => 1455228769000 [modifiedTime] => 1455228851000 [device] => stdClass Object ( [id] => 85bd9b65-7609-47c7-a448-3ca5090d44ca ) )