What is the process if a client buys an item and if I need to do additional stuff (validation controls and/or other post processing updates) ?
The PurchaseItem API on only available from the client, so it does not seem possible to add some verification controls before buying.
The client could call a CloudScript that makes the job (controls, decrement VC, grant item, post-updates) but what happens if there is an error on the grant item step ? The VC will already have been decremented ; i.e. it's not part of a whole transaction isn't it ?
I think I missed something somewhere for this basic task...