如何从我们的服务器Android和iOS的下载应用内购买项目 [英] How to download In-app purchase item from our server android and iOS

查看:133
本文介绍了如何从我们的服务器Android和iOS的下载应用内购买项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关应用程序购买应用程序的一些信息。
我想在应用程式内购买应用程序工作了Android和iPhone两种。
我只需要知道应用程式内系统的一些事情。

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.

阅读文档和堆栈溢出后,我才知道,它有可能对我们自己的服务器上上传应用程式内购买数据项(如视频,音乐),我们只需要管理对谷歌收购项目列表为Android播放或应用程序商店的iPhone。我只需要知道,购买商品后有什么字符串或值或数据或响应应用程序服务器发送我们像purchase_item_id或username_id这样我可以将此值发送到我自己的服务器从下载特定的采购项目我服务器向特定的用户。

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.

感谢您的宝贵时间!
任何帮助AP preciated。

Thank you for your valuable time! Any help appreciated.

推荐答案

苹果In App Purchase的文档有所有你需要的答案。当你创建一个在iTunes上的连接应用程序内购买,苹果将分配一个购买产品的ID。您可以使用此产品ID知道从服务器下载,如果In App Purchase的是成功的。

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.

<一个href=\"https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html\" rel=\"nofollow\">https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html

这篇关于如何从我们的服务器Android和iOS的下载应用内购买项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆