Cards vanishing right after the customer set up an MB WAY mandate
The app confirmed the mandate, then showed no card at all. The cause was not in our code: the follow-up inquiry went out roughly 750 ms after creation and caught the payment provider mid-sync, which answered 404. Finding that meant reading OpenSearch logs against the token documents in MongoDB. Two fixes came out of it — the pre-check on token insertion, and a compound index that cleared the duplicates already stored — across .NET 8 Lambdas, ECS and DocumentDB.