Syncs our state after GreenDot returns response code 111111111
(OldestBarcodeCancelled), which guarantees they already cancelled exactly
one barcode on their side. We find the oldest CREATED barcode in our DB,
confirm with GreenDot that it is indeed cancelled, and signal the workflow.
If a concurrent workflow already handled the cancellation (row is no longer
CREATED), the search will skip it and we fall through to ok(false).
Syncs our state after GreenDot returns response code 111111111 (OldestBarcodeCancelled), which guarantees they already cancelled exactly one barcode on their side. We find the oldest CREATED barcode in our DB, confirm with GreenDot that it is indeed cancelled, and signal the workflow.
If a concurrent workflow already handled the cancellation (row is no longer CREATED), the search will skip it and we fall through to ok(false).