How to test the “renew” component of auto-renew subscriptions in iOS App Store Sandbox?

前端 未结 3 1277
北恋
北恋 2021-01-31 09:24

Folks,

I am attempting to verify that auto-renew subscriptions are actually renewing in the sandbox environment. First, it appears that auto-renew subscriptions in sandb

3条回答
  •  北海茫月
    2021-01-31 10:15

    Copied from the Apple's Developer Forum, for those not willing to goto the forum...

    Figured it out (but not thanks to the Apple docs):

    1 month subscriptions auto-renew every 5 minutes. So far so good. They auto-renew 5 times and then they stop, so after 25 minutes you'll get the 21006 error. However even when repurchasing the same subscription it will NOT auto-renew again on the same test account since it has already auto-renewed 5 times. So if you want to test renewal and you have been messing with these subscriptions for a while you need to create a new itunes connect test user. This is very annoying honestly and it would be a lot easier if we could just reset the entire purchase history of a test user account. Also putting all in-app test information in the Xcode documentation would be a lot better as opposed to spreading it over Xcode docs/iTunes Connect doc/people figuring stuff out themselves

    Hope this helps.

提交回复
热议问题