How to validate iOS purchases in 2024
It seems that the old “verifyReceipt” is deprecated. Apple tells me to magically verify the transaction on device. I don’t understand how this works. I need to somehow verify a transaction for a specific user so that I can add the subscription / consumable through my backend. The only way I can do that is by sending a user-authenticated request to my backend that contains the receipt. This gives me the user context and allows me to verify the transaction with Apple, meaning the purchase is valid.
How to fetch In-APP Purchase products in IOS
I am trying to implement in-app purchases for an app. I have implemented StoreKit2 and in the Xcode environment, I can make the purchase smoothly without any issues. Once I made a build and put it on a test flight, In the test flight build no products were being fetched there was no error I also added logger and checked.