简体   繁体   English

如何从我们的服务器android和iOS下载应用内购买项目

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

I need some information about in app purchase app. 我需要有关应用内购买应用的信息。 I want to work on Inapp purchase app for android and iPhone both. 我想在适用于Android和iPhone的Inapp购买应用程序上工作。 I just need to know few things about InApp system. 我只需要了解有关InApp系统的几件事。

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. 阅读文档和堆栈溢出后,我知道可以在我们自己的服务器上上传Inapp购买数据项(例如视频,音乐),而我们只需要在Google Play上为Android或应用商店管理购买项列表即可苹果手机。 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. 我只需要知道在购买商品后,“字符串,值或数据或响应”应用程序服务器就会向我们发送诸如“ purchase_item_id或username_id”之类的信息,以便我可以将此值发送到我自己的服务器,以从我的服务器下载特定的购买商品服务器到特定用户。

Thank you for your valuable time! 感谢您的宝贵时间! Any help appreciated. 任何帮助表示赞赏。

Apple's In App Purchase documentation has all the answers you need. Apple的In App Purchase文档提供了您所需的所有答案。 When you create an In App Purchase on iTunes Connect, Apple will assign that purchase a product id. 在iTunes Connect上创建In App Purchase时,Apple将为该购买分配产品ID。 You can use this product id to know what to download from the server if the In App Purchase is successful. 如果应用内购买成功,则可以使用此产品ID来知道从服务器下载什么。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM