So here is the scenario:
- You have already tested your in-app purchase code in the sandbox environment and everything went perfectly.
- Your app is now "Ready for Sale" and you want to make sure in-app purchases work flawlessly prior to actually letting your app hit the app store.
To try this, I downloaded a "pre-release" version from the App Store using a promo code, but when I try to purchase the unlocked version, it no longer finds the product like it did in the sandbox environment and my "transaction error" alert view will pop up saying the in-app purchase failed.
My question is this: Is the in-app purchase unavailable prior to the app going live on the App Store (in my scenario where I downloaded it early via a promo code)? For instance, when I se开发者_Python百科t my availability date for Friday and the app is finally in the wild, will the in-app purchase show up and allow users to purchase it, assuming it worked in the sandbox?
Thanks for any insights! Greatly appreciated.
As it turns out, the app does indeed need to be available in the App Store before the in-app purchase will show up. So if you try and get a "pre-release" look like I did, it won't work until you actually release the app into the store via setting the availability date.
As soon as I let the app into the wild, in-app purchase actually worked a lot faster than it did in the sandbox environment. Very, very little lag.
Hope that helps someone in the future!
精彩评论