# US 2019/0095894 A1 · Open ticket payment handling with offline mode

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0095894 A1
- Document ID: US20190095894A1
- Status: Published application
- Kind: A1
- Application number: 16/198,245
- Filed: 2018-11-21
- Published: 2019-03-28
- Earliest claimed: 2015-04-14
- Assignees: Square, Inc.
- Applicants: Square, Inc.
- Inventors: Christopher Philip Renke; Michael Wells White; Eric Dickeson Muller; Mathew Wilson
- Web page: https://patentgrep.com/patent/US20190095894A1

## CPC

- G06Q 20/202: {Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 16/178: Techniques for file synchronisation in file systems
- G06Q 20/20: Point-of-sale [POS] network systems
- G06Q 30/0635: {replenishment orders; recurring orders}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A payment handling system may operate to handle payments for the cost of a transaction in which one or more devices operate in an offline mode. The payment handling system may allow for merchant devices to make modifications to local versions of an open ticket while in an off-line mode. When a merchant device subsequently enters an online mode, the systems and techniques may operate to reconcile differences between the local versions of the open ticket.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for processing an order, the method comprising:
receiving, by a first device, an order associated with a transaction, the first device configured to communicate with a second device;
storing, by the first device, a state of the order and a data structure associated with the order;
based at least in part on the first device and the second device being able to communicate with each other, obtaining, by the second device and from the first device, the state of the order and at least a part of the data structure;
obtaining, by the second device, an indication of a change in the state of the order;
at least partly in response to obtaining the indication, updating, by the second device, the data structure resulting in an updated data structure;
receiving, by the first device from the second device, the updated data structure;
processing, by the first device, the updated data structure by performing at least one of:
reconciling the data structure with the updated data structure;
merging the data structure with the updated data structure; or
prioritizing the updated data structure over the data structure; and
sending, by the first device to a payment service, a request to process a payment for a cost of the transaction based at least in part on processing the updated data structure.

### Claim 22 (depends on 21)

The method of claim 21, wherein processing the updated data structure occurs at least partly in response to at least one of:
determining, by the first device, that the state of the order has remained static for at least a threshold period of time; or
receiving, by the first device, a request to close the updated data structure or the data structure.

### Claim 23 (depends on 21)

The method of claim 21, wherein the first device, the second device, and the payment service are able to communicate with each other via one or more of a WiFi connection, a cellular data connection, or a close-range wireless connection.

### Claim 24 (depends on 21)

The method of claim 21, wherein reconciling the data structure with the updated data structure comprises determining that at least one item associated with the order after the change in the state of the order is new as compared to items associated with the order before the change in the state of the order, and further comprising forming, by the first device, a third data structure that comprises at least the items associated with the order after the change in the state of the order and the at least one item associated with the order before the change in the state of the order.

### Claim 25 (depends on 21)

The method of claim 21, wherein the change in the state of the order comprises adding an item to the order.

### Claim 26 (depends on 21)

The method of claim 21, wherein first device is a point-of-sale (POS) device.

### Claim 27 (depends on 21)

The method of claim 21, wherein the first device and the payment service communicate via a first connection that is different from a second connection by which the first device and the second device communicate.

### Claim 28

A method for processing an order, the method comprising:
receiving, by a first device, an order associated with a transaction, the first device configured to communicate with a second device;
storing, by the first device, a state of the order and a data structure associated with the order;
receiving, by the payment service from the first device, the data structure;
based at least in part on the first device and the second device being able to communicate with each other, obtaining, by the second device and from the first device, the state of the order and at least a part of the data structure;
obtaining, by the second device, an indication of a change in the state of the order;
at least partly in response to obtaining the indication, updating, by the second device, the data structure resulting in an updated data structure;
receiving, by the payment service from the second device or from the first device (via the second device), the updated data structure;
processing, by the payment service, the updated data structure by performing at least one of:
reconciling the data structure with the updated data structure;
merging the data structure with the updated data structure;
prioritizing the updated data structure over the data structure; or
initiating authorization of a cost of the transaction based at least in part on processing the updated data structure.

### Claim 29 (depends on 28)

The method of claim 28, wherein the change in the state of the order comprises addition of an item to the order or removal of an initial item from the order.

### Claim 30 (depends on 28)

The method of claim 28, wherein processing, by the payment service, the updated data structure further comprises:
determining, by the payment service, that the data structure received from the first device is an ancestor of the updated data structure received from the second device,
wherein reconciling the data structure is based at least on determining that the data structure is an ancestor of the updated data structure received from the second device.

### Claim 31 (depends on 28)

The method of claim 28, wherein processing the updated data structure occurs at least partly in response to receiving, by the payment service, a request to close the updated data structure or the data structure.

### Claim 32

One or more non-transitory computer-readable media storing instructions executable by one or more processors, wherein the instructions program the one or more processors to perform acts comprising:
receiving, by a first device, an order associated with a transaction, the first device configured to communicate with a second device;
storing, by the first device, a state of the order and a data structure associated with the order;
based at least in part on the first device being able to communicate with a second device, sending, by the first device to the second device, the state of the order and the data structure; and
receiving, by the first device from the second device, an updated data structure and an indication of a change in the state of the order;
processing, by the first device or a payment service, the updated data structure by performing at least one of:
reconciling the data structure with the updated data structure;
merging the data structure with the updated data structure; or
prioritizing the updated data structure over the data structure.

### Claim 33 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the instructions program the one or more processors to perform acts further comprising:
sending, by the first device, a request to a payment service to process a payment for a cost of the transaction based at least in part on the updated data structure.

### Claim 34 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the instructions program the one or more processors to perform acts further comprising, after processing the updated data structure:
obtaining, by the first device, an indication of a second change in the state of the order;
at least partly in response to obtaining the indication of the second change, updating, by the first device, the updated data structure resulting in a second updated data structure;
processing, by the first device, the second updated data structure by performing at least one of:
reconciling the second updated data structure with the updated data structure;
merging the second updated data structure and the updated data structure; or
prioritizing the second updated data structure over the updated data structure; and
sending, by the first device, a request to the payment service to process a payment for a cost of the transaction based at least in part on the second updated data structure.

### Claim 35 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein processing the updated data structure occurs after receiving, by the first device, a request to close the updated data structure or the data structure.

### Claim 36 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the first device, the second device, and the payment service are able to communicate with each other via one or more of a WiFi connection, a cellular data connection, or a close-range wireless connection.

### Claim 37 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein reconciling the data structure with the updated data structure comprises:
determining that at least one item associated with the order after the change in the state of the order is unique compared items associated with the order before the change in the state of the order; and
processing the updated data structure to include at least the items of the order after the change in the state and the at least one item associated with the order before the change in the state.

### Claim 38 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the change in the state comprises an additional item or an initial item added to the order.

### Claim 39 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the first device is a point-of-sale (POS) device.

### Claim 40 (depends on 32)

The one or more non-transitory computer-readable media of claim 32, wherein the first device is able to communicate with payment service via a WiFi network.
