SDKs for Unity / Subscription purchase scenario
 Back to Docs

SDKs for Unity

  • Integration guide

  • Demo project

  • Authentication

  • Catalog

  • Subscriptions

  • Promotions

  • Item purchase

  • Player inventory

  • User account and attributes

  • Application build guides

  • Troubleshooting


  • Subscription purchase scenario

    1. The application requests a list of available plans using the following SDK methods:
      • GetSubscriptionPublicPlans — returns a list of plans available to unauthorized users.
      • GetSubscriptionPlans — returns a list of plans available to authorized users.
    1. The application displays subscription plans to the user.
    2. The user selects a plan and proceeds to the payment stage.
    3. The application receives the URL to open the payment interface using the GetSubscriptionPurchaseUrl method.
    4. The application opens the received URL in a browser.
    5. The user pays for the subscription.
    Was this article helpful?
    Thank you!
    Is there anything we can improve? Message
    We’re sorry to hear that
    Please explain why this article wasn’t helpful to you. Message
    Thank you for your feedback!
    We’ll review your message and use it to help us improve your experience.
    Rate this page
    Rate this page
    Is there anything we can improve?

    Don’t want to answer

    Thank you for your feedback!
    Last updated: August 24, 2022

    Found a typo or other text error? Select the text and press Ctrl+Enter.

    Report a problem
    We always review our content. Your feedback helps us improve it.
    Provide an email so we can follow up
    Thank you for your feedback!