应用内购买 iPhone 应用程序?

发布于 2024-11-07 07:06:07 字数 323 浏览 3 评论 0原文

我在 iPhone/iPad 应用程序中遇到应用内购买问题。

我的问题是:

1>共享秘密有什么用 - 我们必须在哪里使用它? 2>我们如何存储我们所有的申请表? 3>我们如何测试我们的应用程序? 4>要启用应用程序内购买 - 我们需要在应用程序商店中应用程序吗?

请给我一些在应用程序购买中实施的指南。

谢谢。

我已经完成了启用应用程序内购买的苹果流程,但我不知道我在步骤中错过了什么,这就是为什么我需要更清晰的步骤来了解应用程序中的应用程序内购买?

基本上我需要应用内购买的完整步骤。

谢谢。

I am facing problem on In-App-Purchasing in my iPhone/iPad application.

My Issues are :

1> What is the use of Shared Secret - Where we have to use this?.
2> How we can all our application form store?
3> How we can test our application?
4> To enable in app purchase - We need application on app store?

Please give me some guide line for implementing in app purchasing.

Thank you.

I am gone through the apple process to enable in app purchase but I dn't know what I missed in my steps that's why I need more clear steps to understand the In-App-Purchasing with in my application?

Basically I need full steps for In-App-Purchasing.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

℡寂寞咖啡 2024-11-14 07:06:07

1)http://developer.apple。 com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html 您可以找到您的答案在这里。

2) 抱歉,没有帮助您了解这一点

3) 测试应用内购买

第 1 步:登录 iTunes connect,导航到管理您的应用程序 --> 添加新应用程序(填写信息)-->可以在稍后阶段设置可用日期,选择价格范围-->输入元数据。

第 2 步:导航至合同、税务和税务。 Itunes Connect 中的银行部分完成 IOS 付费应用程序合同。(输入银行详细信息、税务和联系人信息)。如果您的应用程序是免费的,也请完成 IOS 免费应用程序合同。

第 3 步:导航至“管理用户”部分并单击“管理用户”。创建一个测试用户帐户。

步骤 4:将产品添加到您的应用程序中。

步骤 5:使用开发人员配置文件将应用程序传输到您的设备。开发人员配置文件应使用添加应用程序时使用的相同捆绑包 ID。在传输应用程序之前,导航至设置-->商店-->从任何 iTunes 用户帐户注销。

4) 无需将应用程序放在 APP STORE 上即可启用应用内购买。

1)http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html YOU CAN FIND YOUR ANSWER HERE.

2)Sorry, didn't get you on this one

3) To test in-app-purchase

step1: log into iTunes connect, Navigate to manage your applications-->add new application (FILL THE INFORMATION)--> Availability date can be set at a later stage, select the price range-->enter the METADATA.

step2: Navigate to contracts, Tax & banking section in Itunes Connect & complete the IOS PAID APPLICATIONS CONTRACT.(Enter bank details, tax & contacts).If your app is free complete IOS FREE APPLICATIONS CONTRACT as well.

step3: Navigate to the manage users section & create a TEST user account.

step4: ADD products to your application.

step5: Transfer the application to your device using developer provisioning profile. The developer provisioning profile should use the SAME BUNDLE ID which was used while adding the application. before transferring the application navigate to settings--> store--> logout from any iTunes user account.

4) There IS NO NEED for APPLICATION TO BE ON APP STORE TO ENABLE IN APP PURCHASES.

有木有妳兜一样 2024-11-14 07:06:07

我不完全理解您到底需要什么

Apple 在 Store Kit 框架上有非常好的文档。
http://developer.apple.com/ Library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html

我自己从未创建过用于应用内购买的东西,只是为了澄清一下。

我相信有两种方法可以实现这一点
一个是在源代码中编写预定义的内容
例如,在《无尽之剑》中,他们允许你购买额外的金币。
用户请求从应用程序商店购买的可用列表,应用程序商店生成应用程序内标识符列表(在代码中和 itunes connect 上预定义)
例如,用户选择“10.000 额外黄金”,价格为 0.99 美分
交易将发送到应用程序商店,成功后应用程序商店会返回一条 ok 消息,其中代码应该实现一个侦听器,在本例中基本上将 10.000 添加到“currentGold”变量中。

我不太了解的另一种方式是通过应用程序连接到应用程序商店,而应用程序商店又连接到您设置的服务器。
据我所知,这就是在数独游戏等中用于级别解锁

以及测试购买的用途。
每当您实现商店套件并尝试在 iOS 模拟器中连接它时。
模拟器自动连接到沙箱环境,因此也模拟付款

I don't fully understand what you exactly need

Apple has a really good documentation on The Store Kit framework.
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html

I myself never created something for in-app purchase but to clarify a little bit.

I believe there are 2 ways to implement this
one is writing predefined stuff in youre source
for example, in infinity blade they let you buy extra gold.
The user asks for the list of available purchases from the app store the app store produces a list of in-app identifiers (which are predefined in code and on itunes connect)
the user selects for example "10.000 extra gold" for 0.99 dollar cents
The transaction will be made to the app store, the app store after succes returns a ok message in which the code should have a listener implemented that basically in this example add 10.000 to your "currentGold" variable.

The other way I don't know much about is connecting via an app to app store which in his turn connects to a server that is set up by you.
From what I can gather is that is what is being uses for level unlocks in for example sudoku games etc

as for Testing the purchase.
Whenever you have store kit implemented and try to connect it in the iOS Simulator.
The simulator automatically connects to a Sandbox envirenmont and therfore simulates the payment too

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文