is there a way, that if say, the script fails for a certain reason.
that it will give the item back to the user so that it will not be wasted?
if not, im thinking of, editing the Shop-Inventory.php that receives the return text.
if CANCEL is in it? then it will strip the cancel from the return, not deduct the item, and relay the message to the user, which is after CANCEL in the return.
something like,
return "CANCEL user doesnt exist, you decide not to waste it";