Question

test cancel subscription on physical device

  • 19 August 2022
  • 5 replies
  • 915 views

Badge +3

Hi, I have a xamarin app and am testing on a physical device.

I can make a purchase in the sandbox environment, and would like to test if the unsubscribedetected flag get’s correctly set.

unfortunately after having made a succesfull purchase, and navigating to the subscriptions screen, I see no subscriptions are shown (and thus can’t be cancelled)

 

is this scenario available for testing?

Since I use xamarin I can’t test on the simulator (as far as i know)


5 replies

Userlevel 5
Badge +7

You should be able to cancel from the store app (App Store / Play Store) directly.

Badge +3

After starting a subscription I use Launcher.OpenAsync("https://apps.apple.com/account/subscriptions"); to open the on-device subscription window, but no subscriptions are shown there on my test device.

Userlevel 5
Badge +7

Is this using Sandbox testing? Sandbox subscriptions don’t show up in your regular App Store account. You can find the subscription management page for the Sandbox account in the Settings app under App Store → Sandbox Account (all the way at the bottom). When you tap on that, you get a dialog with the option “manage”. You can cancel the subscription from there.

Badge

From my experience you will not get ‘Cancel subscription’ button here App Store → Sandbox Account in case if you conduct subscription in app. Cancel subscription button appears only if subscription was done inside sandbox manage list. This could help: https://stackoverflow.com/a/73269856

Badge

Is this using Sandbox testing? Sandbox subscriptions don’t show up in your regular App Store account. You can find the subscription management page for the Sandbox account in the Settings app under App Store → Sandbox Account (all the way at the bottom). When you tap on that, you get a dialog with the option “manage”. You can cancel the subscription from there.

for my case it always show as expired event i via flutter revenuecat sdk i can see that use is subscribed and has expiration date in the future however in appstore->sandbox account setting expiration date is in the past

Reply