AlexDisler / cordova-plugin-inapppurchase

A lightweight cordova plugin for in app purchases on iOS/Android
316 stars 192 forks source link

App rejected because of "Unknown productidentifier" error #264

Closed desmeit closed 4 years ago

desmeit commented 5 years ago

My App was rejected by Apple with the following message:

We found that your in-app purchase products exhibited one or more bugs when reviewed on iPad running iOS 12.1.4 on Wi-Fi.

The purchase of the paid content did not initiate after tapping the buy button. The activity indicator spins indefinitely and the app does not seem to connect to the iTunes account.

Next Steps

When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.

IAPs are working perfectly with Sandbox and Testfight. Also I don't work with receipt validation. What can I do?

kaddyadriano commented 4 years ago

Were you able to solve this @desmeit ? I'm having similar issue. Works fine from Test Flight but but the button doesn't work for Apple review team.

desmeit commented 4 years ago

in my case, the problem was with apple. I have asked for it to be further investigated.