Reputation: 221
I'm trying to add In-App Purchase to my app. My app is already on the App Store so I added my IAP's in iTunes Connect and I'm using the SwiftyStoreKit from Github to do a purchase.
When I test my IAP in the sandbox they work fine but when I submit the app the testers tell me that they can't perform a purchase. What can cause this?
Upvotes: 1
Views: 368
Reputation: 61
There are a few steps you have to take into account:
1: If the IAP's don't show in the app, make sure that you use the same bundle identifier for your AdHoc distribution as te one you created the IAP's for.
2: what Eugene said: for sandbox, only sandbox testers can purchase tests. Create sandbox testers and make sure your testers log out first in their own App Store account, before trying to make a purchase with the sandbox user
3: also make sure testers NEVER use the sandbox accounts to make actual purchases; this will convert the sandbox account to a live account.
Hope this was of any help :-)
IAP's aren't that hard, you just have to make sure you don't mess anything up.
Upvotes: 1
Reputation: 641
Only Sandbox Testers can make test purchases. It's NOT the users who are listed in Internal and External testers lists. Check iTunes Connect => Users and Roles => Sandbox Testers.
Upvotes: 0