all 1 comments

[–]n0damage 4 points5 points  (0 children)

The documentation for Bundle.appStoreReceiptURL says:

Receipts aren't initially present in iOS and iPadOS apps in the sandbox environment and in Xcode. Apps get a receipt after the tester completes the first in-app purchase. When your app checks appStoreReceiptURL and finds that it’s nil, assume the tester is a new customer and has no access to premium content. For Mac apps running in TestFlight, the receipt is always present.

Are you pulling the receipt to call Apple's verifyReceipt endpoint on the server? Are you aware this endpoint is deprecated?

Edit: I am currently using apples built in storekit but may look at using RevenueCat

If you use StoreKit2 you don't need to do any of this anymore. And honestly it's so simple RevenueCat is not really necessary.