In the example for iap.buy() , we have the code:
if (transaction.state == iap.TRANS_STATE_PURCHASED) then
-- do server-side verification of purchase here..
iap.finish(transaction)
end
What if my server-side verification fails, what is the correct way to act?
Should I simply not call iap.finish(transaction)
, or is there some other way to explicitly cancel the transaction?