docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IGooglePlayStoreExtensions

    Access GooglePlay store specific functionality.

    Namespace: UnityEngine.Purchasing
    Assembly: solution.dll
    Syntax
    public interface IGooglePlayStoreExtensions : IStoreExtension

    Methods

    Name Description
    ConfirmSubscriptionPriceChange(string, Action<bool>)

    Initiate a flow to confirm the change of price for an item subscribed by the user.

    GetPurchaseState(Product)

    Determines the purchase state of a product in the Google Play Store based on its receipt.

    IsPurchasedProductDeferred(Product)

    Determines if the purchase of a product in the Google Play Store is deferred based on its receipt. This indicates if there is an additional step to complete a transaction in between when a user initiates a purchase and when the payment method for the purchase is processed. Handling pending transactions

    RestoreTransactions(Action<bool, string>)

    Async call to the google store to queryPurchases using all the different support sku types.

    RestoreTransactions(Action<bool>)

    Async call to the google store to queryPurchases using all the different support sku types.

    UpgradeDowngradeSubscription(string, string)

    Upgrade or downgrade subscriptions, with proration mode IMMEDIATE_WITHOUT_PRORATION by default See more

    UpgradeDowngradeSubscription(string, string, int)

    Upgrade or downgrade subscriptions

    UpgradeDowngradeSubscription(string, string, GooglePlayProrationMode)

    Upgrade or downgrade subscriptions

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023