onPurchaseSuccess
(Native iOS) or OnPurchaseSuccess
(Unity iOS) callback is triggered with an OrderResponseModel
argument containing the purchaseId
. You can use this to validate the purchase with your game server.
The purchaseId
also serves as the identifier for the transaction, allowing you to track the purchase and retrieve the offer item details associated with it. Once validated, fulfill the order by granting the purchased items to the player’s account.