Help with InAppPurchase

Hi everyone,

I submitted my app to the app store and got denied due to the in-app -purchase button crashing the app.

the app:

The app plays audio, some are free, some are "premium" and requires the user to pay a one-time fee. The person who helped me with this project told me to place my productID in the "" in the screenshot.

I added the in-app purchase on AppStore connect which is now "waiting for review". Have I done everything correct? Seems to still crash, is this because the in-app purchase is not yet approved?

We would recommend you validate your in-app purchase implementation locally first using StoreKit testing with Xcode. Once that looks good, you can use it with Sandbox and your configured products. https://developer.apple.com/documentation/storekit/in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_sandbox

Help with InAppPurchase
 
 
Q