Method RedeemAppleIap
RedeemAppleIap(string, string, Completer<TransactionExchangeData>)
Validates a Receipt from a successful purchase on an Apple device and applies the rewards to the players account.
Declaration
void RedeemAppleIap(string id, string receipt, Completer<TransactionExchangeData> completer)
Parameters
Type | Name | Description |
---|---|---|
string | id | Id of a IAPTransaction |
string | receipt | Receipt data returned from the App Store as a result of a successful purchase. This should be base64 encoded |
Completer<TransactionExchangeData> | completer | The redeem result |