docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RedeemGoogleIap

    RedeemGoogleIap(string, string, string, Completer<TransactionExchangeData>)

    Validates a Receipt from a successful purchase on a Google device and applies the rewards to the players account.

    Declaration
    void RedeemGoogleIap(string id, string purchaseData, string purchaseDataSignature, Completer<TransactionExchangeData> completer)
    Parameters
    Type Name Description
    string id

    Id of a IAPTransaction

    string purchaseData

    A JSON encoded string returned from a successful in app billing purchase.

    string purchaseDataSignature

    A signature of the PurchaseData returned from a successful in app billing purchase

    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)