Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS in-app purchase; works on sandbox, not on production

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.

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

like image 436
geppy Avatar asked Oct 20 '22 04:10

geppy


1 Answers

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"
});
like image 136
Michael Blankenship Avatar answered Oct 24 '22 09:10

Michael Blankenship