Method RedeemAppleAppStorePurchaseAsync
RedeemAppleAppStorePurchaseAsync(RedeemAppleAppStorePurchaseArgs)
Redeems the specified Apple App Store purchase.
Throws a EconomyException with a reason code and explanation
Declaration
Task<RedeemAppleAppStorePurchaseResult> RedeemAppleAppStorePurchaseAsync(RedeemAppleAppStorePurchaseArgs args)
Parameters
Type | Name | Description |
---|---|---|
RedeemAppleAppStorePurchaseArgs | args | The Apple App Store purchase details for the request |
Returns
Type | Description |
---|---|
Task<RedeemAppleAppStorePurchaseResult> |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |
EconomyValidationException | Thrown if the service returned validation error. |
EconomyRateLimitedException | Thrown if the service returned rate limited error. |
EconomyAppleAppStorePurchaseFailedException | Thrown if the purchase fails in one of the following ways: invalid receipt, purchase already redeemed, product ID mismatch, product ID not defined, currency max would be exceeded. |