SDK pour Unity / Scénario de gestion des abonnements
  Retour à la documentation

SDK pour Unity

Scénario de gestion des abonnements

  1. The application requests a list of the user’s subscriptions using the GetSubscriptions method.
  2. The application requests detailed information about each user’s subscription using the GetSubscriptionDetails method (optional).
  3. The application displays a list of subscriptions to the user.
  4. The user selects a subscription and the action he wants to perform — cancel, open a web page to renew, or manage subscriptions.
  5. The application calls one of the following methods to handle the action:
    • CancelSubscription — to cancel the selected subscription
    • GetSubscriptionRenewalUrl — to get the URL of the renewal interface for the selected subscription
    • GetSubscriptionManagementUrl — to get the URL of the management interface for the selected subscription
  1. The application opens the received URL in a browser.
  2. The user performs an action on a subscription.
Note
Subscription cancellation occurs immediately after a call to the CancelSubscription method — steps 6 and 7 are not performed.
Cet article vous a été utile ?
Merci !
Que pouvons-nous améliorer ? Message
Nous sommes désolés de l'apprendre
Dites-nous pourquoi vous n'avez pas trouvé cet article utile. Message
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.
Évaluer cette page
Évaluer cette page
Que pouvons-nous améliorer ?

Préfère ne pas répondre

Merci pour votre commentaire !
Dernière mise à jour: 10 Octobre 2023

Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.

Signaler un problème
Nous améliorons continuellement notre contenu grâce à vos commentaires.
Indiquez votre adresse e-mail pour un suivi
Merci pour votre commentaire !