I want to create a button where a user can cancel a auto-renewal subscription (or get redirected to App Store).
Is that possible without the user having to go through the whole purchase process first? If it is, how would you go about doing it?
Rather than needing to code your own subscription management UI, your app can open the following URL: https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions Opening this URL launches iTunes or iTunes Store, and then displays the Manage Subscription page.
On your Android device, go to your subscriptions in Google Play. Select the subscription you want to cancel. Tap Cancel subscription. Follow the instructions.
When you turn off automatic renewal, your Subscription will remain active until the end of its term and you will not receive any refunds or credits.
December 2019
The correct URL is now https://apps.apple.com/account/subscriptions according to Apple's Handling Subscriptions Billing Documentation.
So just use:
UIApplication.shared.open(URL(string: "https://apps.apple.com/account/subscriptions")!)
From the Apple In-App Purchase Programming Guide -
Rather than needing to code your own subscription management UI, your app can open the following URL:
https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions Opening this URL launches iTunes or iTunes Store, and then displays the Manage Subscription page.
So, simply create a button that launches that URL.
UIApplication.shared.openURL(URL(string: "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions")!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With