Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing in-app purchase before going live

So here is the scenario:

  1. You have already tested your in-app purchase code in the sandbox environment and everything went perfectly.
  2. 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 set 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.

like image 322
iwasrobbed Avatar asked Sep 23 '10 03:09

iwasrobbed


People also ask

Can I test in-app purchase in TestFlight?

Your TestFlight user is a legitimate App Store user, but doing in-app purchases made with beta builds are free within the context of the beta version. You can enable up to 25 users per app from your iTunes Connect team to be internal testers and up to 2000 users to be external testers per app.

Is an app free if it says in-app purchases?

Before installing an app, users often see the message “In-app purchases” next to the “Get” button for free apps or the app price button for paid apps. This messaging indicates that users will have the opportunity to pay for additional features, content, or services within an app.


1 Answers

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!

like image 98
iwasrobbed Avatar answered Oct 14 '22 23:10

iwasrobbed