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:
- if receipt sandbox account, receipt active 5 minutes. is_trial_period true on real users.
- 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.
- check answer 2.
- receipt has expires_date , can check if user cancelled or not.
- probably related 4th answer.
i hope can help.
Comments
Post a Comment