Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Non Consumable & Subscription

Discussion in 'Economy' started by Mest, Nov 7, 2023.

  1. Mest


    Nov 7, 2012
    I'm setting up the new UGS Economy for my project and ran into some unclear cases:

    How can we handle Non-Consumables & Subsciptions via Economy?

    Let's say we have a low priced battlepass-subscription (The Subsripction)
    and a high-priced onetime battlepass purchase (The Non-Consumable).
    The Non-Conumable may grant additional currencies too.

    The Samples in the UGS-sample-project are based on virtual purchases (and thats why we can handle currency-balance within etc).

    The question(s):
    Is there a way (via cloud code) we can access the state of a real-money purchase like we can with the virtuals?

    Verify the state (purchased or subscribed) of those real-money purchases via Economy/ CloudCode (like with the "RedeemGooglePlayPurchaseAsync"-Function)?

    Aren't we able to use the "Real Money Purchase"-Resource of Economy for those two cases in any way (and need to handle it inside of the game - propably via the IAP-plugin)?

    Thanks in advance
    Last edited: Nov 7, 2023