Said it before and I say it again.
We need a search bar to know wether or not a player has purchased an item or not.
“But you can just…” - No.
Take your half-baked super-complex datastore-draining solution and post it somewhere else.
Nobody here is interested in seeing that you can write complex code.
We need a search bar because loading 45 pages of purchases just to findout if a player has bought an item 2 days ago is not very user friendly.