I've just released my first app with iAP. It always worked fine in development, but in production it crashes when I try to make a purchase.
It seems like the app dosn't download my "product" in production mode. Have anyone else had similar problems, what did you do to fix it?
Recently I had submitted my app and it has a same issue. After spent some time on google I found that sometimes application available on store early and apple's production server takes time in updating products so wait for 24-36 hours. It will be automatically fixed.
Edit
Jagdeep has pointed towards a good point. Check status of your products it should be in "Approved" state. In my case it was in approved status.
From Documentation :
Clear for Sale indicates whether your In-App Purchase is cleared for sale or not. If this box is unchecked, your In-App Purchase will not be available for purchase from within the app. Note that if you set Cleared for Sale to No, all settings for the In-App Purchase will still be available to edit in iTunes Connect, and you can change Cleared for Sale to Yes at a later date.
I didn't have to wait long, something like a couple hours and it just started working.
Now, my binary and my In-App Purhcase were approved at the same time and almost immediately after they were both approved, I released the app version to the store.
I'm not positive, but what I probably should have done was wait a couple hours before releasing that new app version and give the In-App Purchase a chance to "register" or "propagate" in the Production App Store.
Just a recommendation for others.
Check your status in itunesConnect site -> Manage your purchase. Make sure your in-app-Purchase has been passed from review.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With