ios - Auto-renewal Subscripton receipt validation -


i'm implementing auto-renewal trial period,now i'm testing sandbox account.i have couple of questions,please me.

1.after purchasing i'm validating receipt whether free trail or not, receipt "is_trial_period" false, need know whether user in free trail or not?

2.if user deletes app , re-install again in same device or in device can receipt again?

3.if wont receipt after re-install how can unlock feature subscription subscribed?

4.if user cancels subscription in trail period, how know cancelled?

5.if user cancels subscription, if restore purchases, shall purchases in restore transaction?

i may answer of questions:

  1. if receipt sandbox account, receipt active 5 minutes. is_trial_period true on real users.
  2. if user deletes app device , re-install same devices can retrieve receipt if user install in different device he/she must restore purchase apple id bought subscription.
  3. check answer 2.
  4. receipt has expires_date , can check if user cancelled or not.
  5. probably related 4th answer.

i hope can help.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -