7
votes

As of about May 2014 this year, searching Google for "ios in app purchase promotion code", yields lots of news sites reporting the same thing - Apple seem to be working on allowing promotion codes for testing in-app purchases as evidenced by a screenshot from EA games.

My question is; does anybody know how to do this yet? I logged into the new iTunesConnect interface but can't find any link and nothing appears in the Apple docs from what I can find.

Ideally I'm looking to create a code for a monthly subscription but they may only be allowed for consumables. With the lack of actual info on IAP promo codes my guess is that the feature hasn't been officially made available yet and that EA games were invited by Apple to test it out.

3
I am almost certain this was done using iTunes Connect but ever since the interface was revamped the feature is no longer visible.user3721428
Oh gosh... Apple gave me a headache with this same issue. They definitely didn't allow it as of January of this year and clearly had "no in-app purchase promo codes" stated in the review guidelines; and though everything I'm seeing online about in-app purchase promo codes post-May seems specific to EA, the review guideline no longer mention in-app promo codes: developer.apple.com/app-store/review/guidelines So perhaps it's worth giving it a try.Lyndsey Scott
Actually, I take that back -- I think this line in the docs is the "rule" Apple uses to reject IAP promo codes and I think it's still the same: "Apps utilizing a system other than the In-App Purchase API (IAP) to purchase content, functionality, or services in an App will be rejected"Lyndsey Scott
I'm voting to close this question as off-topic because It is not about programming.Mogsdad

3 Answers

4
votes

As @Christoph Wimberge notes this is old news. Apple is now supporting this.

You cannot officially get promo codes for IAP currently. See here https://developer.apple.com/library/prerelease/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ProvidingPromoCodes.html . If you're testing then you should be creating Sandbox Testers under Users and Roles. Depending on how you handled the IAP this could well serve as a promo code of sorts. So, for instance, if you're using the IAP to set a flag in NSUserDefaults or a plist file then this will work as a promo code. You will have to instruct the user to log in as the test user for the purposes of the purchase. Even if you delete the test user once the flag is set the user can use the IAP so long as they don't completely remove the app and assuming you don't change the way IAPs are handled like using App Store digital receipts to confirm purchases. Of course, if you're worried about crackers then you're probably not going to store successful IAP as a flag especially in User Defaults where anyone can just change the value willy nilly. But for apps that aren't games this probably isn't a huge worry. Hope that helps.

enter image description here

4
votes

We were told by Apple today that they never allow users to type in codes, use Q-codes, or other gateway key to access anything. Instead, she said we should use a members-only webpage (i.e., login required) to accept redemption codes and associate the content through our backend. When the user returns to the app, the content would be available.

1
votes

If Apple enabled codes for IAP, you could offer sales of the codes from another platform, which would then unlock the IAP. Apple would be doing all of the work, but reaping none of the rewards. In addition, all of a sudden, you've created a knock off market for promotional codes, like g2a.com does for Steam keys.

While Apple might have the functionality, it seems exclusive to EA for now.

Currently, you'll need to figure out how to support promotional items outside of the app store.