docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)