In database queries the google-order-number is treated as an int (%d) but it can be bigger than 2^31 bits. This causes 2147483647 to be used as the google-order-number for every order number over 2^31 bits. Replacing %d with %s in the database queries fixes this, and is more in line with the database schema as the google-order-number is stored as a varchar.

Patch attached.

Comments

Island Usurper’s picture

Status: Active » Fixed

This was finally brought to my attention elsewhere, so it's now fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.