Scénario de gestion des abonnements
- The application requests a list of the user’s subscriptions using the
GetSubscriptions
method. - The application requests detailed information about each user’s subscription using the
GetSubscriptionDetails
method (optional). - The application displays a list of subscriptions to the user.
- The user selects a subscription and the action he wants to perform — cancel, open a web page to renew, or manage subscriptions.
- The application calls one of the following methods to handle the action:
CancelSubscription
— to cancel the selected subscriptionGetSubscriptionRenewalUrl
— to get the URL of the renewal interface for the selected subscriptionGetSubscriptionManagementUrl
— to get the URL of the management interface for the selected subscription
- The application opens the received URL in a browser.
- 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 pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.