docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCurrentPurchaseData

    GetCurrentPurchaseData()

    Return a struct that contains just the data about a successful purchase which the TransactionManager can use to fulfill and/or finalize a purchase.

    Declaration
    public SuccessfulPurchaseData GetCurrentPurchaseData()
    Returns
    Type Description
    SuccessfulPurchaseData

    A SuccessfulPurchaseData populated with a product id and as many receipt strings as that platform requires for receipt validation.

    Implements
    IPurchasingAdapter.GetCurrentPurchaseData()
    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)