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.
There is virtually 0 information / code examples about how one is supposed to achieve this in 2024 without the deprecated services. Any help / pointers appreciated.