Skip to main content
Question

Cross-platform subscription upgrade.

  • February 20, 2025
  • 1 reply
  • 17 views

Forum|alt.badge.img

Hi, I’m trying to implement a subscription system with multiple tiers in a Unity cross-platform app.

My concern is if there is a way where a user that has activated a subscription in a platform can upgrade the subscription from a different platform.

I have also seen that there is a “managementUrl” that can be used to guide the user to the correct portal in case that he wants to manage a subscription, but I cannot find that url in the Unity Revenuecat SDK.

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • February 24, 2025

Hi ​@guillermo! The managementURL should be within CustomerInfo in Unity - more information on this is available here. Typically, you’ll want to guide the user to the specific platform they initially subscribed on when suggesting they upgrade to a higher tier. For example, if they subscribed to your “Basic” plan on iOS, then are using the app on Android, you’ll want to guide them to iOS to upgrade/downgrade/cancel rather than allowing them to purchase another subscription on Android. I’ve copied details on the managementURL below, for reference:

URL to manage the active subscription of the user. If the user has an active iOS subscription, this will point to the App Store, if the user has an active Play Store subscription it will point there. For Stripe subscriptions, there is no Management URL.

If there are no active subscriptions it will be null.

If the user has multiple active subscriptions for different platforms, this will take the value of the OS in the X-Platform header into consideration:
- If the request was made on an OS for which there are active subscriptions, this will return the URL for the store that matches the header.
- If the request was made on a different OS or the OS was not included in the X-Platform header, this will return the URL for the store of the subscription with the farthest future expiration date.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings