Link to app manage subscriptions in app store

23,416

Solution 1

The new and official way (according to WWDC 2018 Session 705) is the following url: https://apps.apple.com/account/subscriptions

Link for doc: https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/handling_subscriptions_billing

Solution 2

Following this iTunes Connect guide, this URL works:

https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions

You can link directly to the Manage Subscriptions page in the App Store without having to write your own manage subscriptions page. To do so, link to this URL: https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions

However this will redirect to Safari before redirecting to App Store App. So the user will see app switching twice in their device. Changing https to itms or itms-apps does not seem to just work.

Btw, this only works on the device. It wouldn't work on the simulator.

Solution 3

As of Nov 2018, this is the best approach.

if let url = URL(string: "itms-apps://apps.apple.com/account/subscriptions") {
    if UIApplication.shared.canOpenURL(url) {
        UIApplication.shared.open(url, options: [:])
    }
}

Solution 4

2018 on IOS its a combination of the answers above. This URL will open the App Store App with the correct view: itms-apps://apps.apple.com/account/subscriptions

Solution 5

The above answers are possibly slightly out of date (including Apple's documentation grrr) as I am receiving a Safari error when trying to use the link:

// old way
https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions

Using XCode 5.1 and iOS 7.x, I am able to correctly link to the "Manage Subscriptions" section for the app in question using the following openURL: call:

// new way
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions"]]
Share:
23,416
OneDimensionalmc
Author by

OneDimensionalmc

Updated on July 09, 2022

Comments

  • OneDimensionalmc
    OneDimensionalmc almost 2 years

    Currently with In app purchase the only way to cancel an auto-renewing subscription is to do the following with the device:

    Settings > Store > View my account > Manage my subscription

    Is it possible programmatically to link directly to the Manage my subscription page in the app store? I know I can open the app store via something like

    NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.apple.com"];
    [[UIApplication sharedApplication] openURL:url];
    

    I have seen other apps do this but I can't seem to figure out how.

  • Enrico Susatyo
    Enrico Susatyo over 10 years
    where did you find this "itmss:" from? Just trial and error or is there an actual documentation for this?
  • Enrico Susatyo
    Enrico Susatyo over 10 years
    Well, for what it's worth, I tried this today, it took me to the iTunes Store (not App Store), asked me for my password and worked. But When I went back to the app and execute it again, it's just giving me iTunes Store's home screen. I'll stick with https for now until Apple fix this.
  • Markus
    Markus over 5 years
    This should now be the preferred answer. Works, thank you!
  • Theo
    Theo over 5 years
    This seems to be the "official way", but in when I open the URL via openURL(), on iOS 12, first Safari opens, forwards to another site finance-app.itunes.apple.com, where a popup shows up "Open this page in iTunes Store?". If you tap "Open", the "iTunes Store" app opens, and the desired screen appears as a modal overlay. Ugh. Is there a smoother way, without redirects, preferably so that either the Settings app or the App Store app opens? (That's what I would expect as a user.)
  • Roboris
    Roboris over 5 years
    As of Nov 2018, this is the best approach.
  • bryanjclark
    bryanjclark over 5 years
    @Theo see answer from mklb: stackoverflow.com/a/53275848/686902
  • denkeni
    denkeni over 4 years
    The new one apps.apple.com/account/subscriptions redirects to App Store, and only works on iOS 12 or later. The old one buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/… redirects to iTunes Store. Both are official ways. Tested on my iOS 10-13 devices.
  • Starsky
    Starsky almost 4 years
    This is the correct way to direct the users to the AppStore -> Subscriptions. The previous pref "itms://" was redirecting to iTunes Store -> Subscriptions.
  • James Parker
    James Parker almost 4 years
    Would like to point out that this doesn't take you to the App Store application, it opens up iTunes. This link, buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/…, used to work and would take you to the App Store, not iTunes. But that link no longer works.
  • James Parker
    James Parker almost 4 years
    This should be the top voted answer. It is the the only one that takes you to the App Store. All the other solutions either no longer work or take you to iTunes. This will work as a browser link as well.
  • James Parker
    James Parker almost 4 years
    This links to iTunes. The title of this question clearly states it would like to take the user to the App Store.
  • James Parker
    James Parker almost 4 years
    This links to iTunes. The title of this question clearly states it would like to take the user to the App Store.
  • James Parker
    James Parker almost 4 years
    This is not relevant to the question.
  • James Parker
    James Parker almost 4 years
    This link also takes the user to iTunes and not the App Store as the question title states.
  • James Parker
    James Parker almost 4 years
    This links to iTunes. The title of this question clearly states it would like to take the user to the App Store. Using this link itms-apps://apps.apple.com/account/subscriptions will open the App Store app on your phone or computer if you are on a Mac.
  • tokenaizer
    tokenaizer almost 4 years
    Can i linked to specific package in this page?
  • Waqas
    Waqas almost 3 years
    Its not redirecting to manage subscription for tvOS? Any help would be appreciated.