iOS auto-renew expired at the end of current subscription period

前端 未结 3 1037
我在风中等你
我在风中等你 2021-02-04 21:45

I ordered a auto-renew product, After 5 minutes ,it become expired!

I think in Sandbox 5 minutes is equal to 1 month,

At the end of current subscription peroid(

相关标签:
3条回答
  • 2021-02-04 21:59

    I have experienced this as well, but if I kill the app from the multitasking tray (or stop the process in Xcode) and relaunch, I get an updated transaction with state "SKPaymentTransactionStatePurchased" that essentially renews the subscription. Check that out. It will at least give you something. Very frustrating that this is so inconsistent and not in alignment with the documentation.

    0 讨论(0)
  • 2021-02-04 22:12

    In the sandbox environment, auto renewable subscriptions are much shorter than the actual time. From this answer:

       Actual duration      Sandbox duration
       1 week               3 minutes 
       1 month              5 minutes
       2 months             10 minutes 
       3 months             15 minutes 
       6 months             30 minutes 
       1 year               1 hour
    

    And although this fact is not documented, according to some developers in Apple's developer forum (and my own experience), subscription will renew 5 times before you get 21006 error (subscription expired error). So if you have a 1 month subscription, it will be renewed every 5 minutes for 25 minutes. Don't rely on this fact though, as it's not officially documented and might change anytime.

    0 讨论(0)
  • 2021-02-04 22:13

    This is my experience as well. Auto-renewing in the sandbox environment is inconsistent. On some occasions I've seen a sandbox subscription auto-renew about 5 times before ending. But on other occasions it doesn't auto-renew at all. I assume these problems don't exist in the production environment.

    0 讨论(0)
提交回复
热议问题