iOS应用内购买;适用于沙箱,而非生产 [英] iOS in-app purchase; works on sandbox, not on production

查看:97
本文介绍了iOS应用内购买;适用于沙箱,而非生产的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iOS应用程序,其中包含自动续订订阅,我正在使用 in-应用程序购买Node.js模块。订阅购买在沙箱中工作(通过xCode部署或通过TestFlight下载),但在生产中,Node.js模块似乎没有调用我的成功或失败处理程序

I have an iOS app with auto-renewing subscriptions where I'm using the in-app-purchase Node.js module. Subscription purchase works in the sandbox (deployed via xCode or downloaded via TestFlight), but in production the Node.js module doesn't appear to be calling my success or failure handlers.

为了简化/排除代码故障,我更改了它以便使用 Date.now 而不是购买日期。

To simplify/troubleshoot the code, I changed it so it uses Date.now instead of the purchase date.

推荐答案

在应用内页面上查看 - 购买他们谈论订阅的地方。你有没有检查过iTunes的密码?

Look lower on the page for in-app-purchase where they talk about subscriptions. Have you checked your password for iTunes?

iap.config({
  applePassword: "1234567890abcdef1234567890abcdef"
});

这篇关于iOS应用内购买;适用于沙箱,而非生产的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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