How to download In-app purchase item from our server android and iOS

坚强是说给别人听的谎言 提交于 2019-12-23 03:13:41

问题


I need some information about in app purchase app. I want to work on Inapp purchase app for android and iPhone both. I just need to know few things about InApp system.

After reading documentation and stack-overflow, i come to know that it is possible to upload Inapp purchase data item (like videos,music) on our own server and we just need to manage purchase item list on google play for android or app store for iPhone. I just need to know that after purchase item what are the "strings or values or data or response" app server sends us like "purchase_item_id or username_id" so that i can send this value to my own server to download the particular purchase item from my server to particular user.

Thank you for your valuable time! Any help appreciated.


回答1:


Apple's In App Purchase documentation has all the answers you need. When you create an In App Purchase on iTunes Connect, Apple will assign that purchase a product id. You can use this product id to know what to download from the server if the In App Purchase is successful.

https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html



来源:https://stackoverflow.com/questions/15431145/how-to-download-in-app-purchase-item-from-our-server-android-and-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!