In-app purchase promo code (consumable product)

I'm unable to use In-app purchase promo code


I created In-app purchase promo code (consumable type). After I used this code in my iPhone (AppStore -> Redeem -> Entered code manually), my app launched properly. The promo code is definitely used, but the purchased item from the promo code is not given. To discover what happened, I tried to use a debug build. But I found that In-app purchase promo code doesn’t support Sandbox test.


1. Is there certain way to use In-app purchase promo code?

2. I would like to know how to debug the build using In-app purchase promo code


Thank you

I'm having such problem also as I dunno how to test whether my in app promo codes works or not. Now i had to submit an app to test my in app promo code functionality? that's way too risky for us who wanted to implement the feature. And it's hard to trace from our live app about what happens to the in app promo codes. Hope more ppl will see this and give us a solution.

You don't have to test the promo code feature as all handling for the promo code is done for you by the App Store behind the scenes. The promo code feature is using the process of restoring purchases. So if the regular In App Purchase and Restore Rurchase features work, you can be sure that promo codes work too.


  1. Implement purchase and restore features in your app
  2. Create sandbox users to make an In App Purchase
  3. Delete and re-install the app on your device
  4. Try to restore your previous purchase
Check out how this company called Flyshot does it -- create a new IAP as a promo code on AppStore connect
In-app purchase promo code (consumable product)
 
 
Q