开发者

in app purchases question

开发者 https://www.devze.com 2023-01-03 06:49 出处:网络
I am looking into the iPhone in app purchased models and need to implement a subscription. Ex content will be available for 24 hours. Now the most important thing is that it needs to be available on a

I am looking into the iPhone in app purchased models and need to implement a subscription. Ex content will be available for 24 hours. Now the most important thing is that it needs to be available on all the other devices, so bought on the iPhone, viewable on the iPad. I'm not sure how this works ? I need to store some information on the developer server but is this the transaction id and current date/time so when launching the app on the iPad, you will attempt to buy the content again. App开发者_如何学运维le will see that this user already bought that and hopefully returns the transaction ID. At that moment I can verify if the time limit it still valid or not. Can anyone confirm this method off working? If this is correct is there a 'renew'?


Correct me if I am wrong.

You just need to store the "receipt-data", don't need to store transaction id and current date/time. Obviously you have to create the kind of product as "subscriptions", this will ensure that the purchased product is shared on all user's devices.

How to verify a receipt with the AppStore.

0

精彩评论

暂无评论...
验证码 换一张
取 消