Discussions

Ask a Question
Back to All

Test paying the app price on app store

Hello!
I have an application on App Store with version 2. This is app in not free on app store, it cost the user 10$ to be able to download it.
But now, in version 3, I’m planning to make the application for free to download from Appstore, but there will a subscription plans inside the application.
Plus, I want to give a promo code as compensation for old users(who downloaded the version2 of the app and paid it’s cost 10$ on App Store)

To check if the user has bought the app from App Store, I tried to fetch the App Store recipient data from Bundle.main.appStoreReceiptURL, but it appears the file is not exist since I’m running to app from Xcode.

https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/testing_in-app_purchases_in_xcode?language=objc

Plus, I tried to fetch the user purchase info form Adapty, and Adapty responded that the user has no subscription, no non-subscription and has no access levels!

So, my question is: How I test the compensation scenario in sandbox?

Plus, can we consider paying the app price on App Store as non consumable product?
Thanks in advance.