Hello, I have submitted my app to Apple review team many times and they were still reject by the reason: {Guideline 2.1 - Performance - App Completeness. - An error message displayed when we tried to purchase the full version.} This message is an alert

Hello, I have submitted my app to Apple review team many times and they were still reject by the reason:

Guideline 2.1 - Performance - App Completeness.

- An error message displayed when we tried to purchase the full version.


This message is an alert message telling the user to check internet connection on the device.

The message appeared because the application waited few seconds after calling "restoreCompletedTransactions" with no response so it was clear (to me) that the device was not able to communicate with the App Store.


If the device was able to communicate with the App Store then "paymentQueueRestoreCompletedTransactionsFinished" method should be called and the application opens the full version or in-app purchase user interface.

In order to test the application I exported the archived version using development provisioning profile and installed it to iPhone 8 running iOS 11.3.1 on Wi-Fi connected to an IPv4 network, it worked as intended without any problem.


Please help me to solve this issue.

Answered by mustafashatila in 311418022

Finally my app is ready for sale on App Store.


I called "canMakePayments" and if not inform the user the to check Settings Restrictions (informing the user was missing from my code)

If "canMakePayments" is true I called "restoreCompleteTransactions" and inform the user if product is already purchased to proceed and get it for free, or buy it if not yet purchased,(again, informing the user was missing from my code).

Accepted Answer

Finally my app is ready for sale on App Store.


I called "canMakePayments" and if not inform the user the to check Settings Restrictions (informing the user was missing from my code)

If "canMakePayments" is true I called "restoreCompleteTransactions" and inform the user if product is already purchased to proceed and get it for free, or buy it if not yet purchased,(again, informing the user was missing from my code).

Hello, I have submitted my app to Apple review team many times and they were still reject by the reason: {Guideline 2.1 - Performance - App Completeness. - An error message displayed when we tried to purchase the full version.} This message is an alert
 
 
Q