Android Mobile Payments SDK: authorized but location is null; safe recovery with unknown offline queue

We need a supported recovery procedure for a production Android application using Mobile Payments SDK 2.6.1. On a physical device, authorizationState.isAuthorized is true and authorization is not in progress, but AuthorizationManager.location is null. Our application disables new Reader payments in this state.

There is an earlier payment whose result is unknown. We cannot establish whether the device has outstanding offline payments because the offline queue query is scoped to the current location, which the SDK does not provide. The application preserves the original payment record and does not retry the original payment. The app was subsequently updated in place with the same application ID and signing certificate, without clearing app data or uninstalling; the missing-location state persists. We did not verify the offline queue before that update and cannot assert its contents or integrity.

During inspection of the SDK artifacts we found a persisted-login code path consistent with an authorized state being exposed without populating the public location field. This is an implementation observation, not proof of the sole cause; we do not have a complete physical cold-start trace.

Could Square’s Mobile Payments SDK team advise:

  1. Is there a supported way to restore the current authorized location without deleting app data, switching application IDs, or initiating a new payment?
  2. When the location is null, how can we safely establish the status of all locally stored offline payments before any deauthorization or upgrade?
  3. If deauthorization and reauthorization to the original location are necessary, what happens to queued, failed-to-upload and other stored payment states, and can any of them resume uploading automatically? What specific checks and recovery steps should be performed in this unusual state?
  4. Is this behavior known in SDK 2.6.1, and is there a supported fix or a safe upgrade path given that the queue cannot currently be queried?

Please do not ask us to post merchant IDs, location IDs, payment IDs, credentials, logs containing those values, or customer data publicly. We can provide any required details privately through a verified Square support channel.

Relevant documentation: Offline Payments

Sending you a DM for more info!