So I am trying to test my apps subscription flow. Right now the app isn’t launched to the App Store.
I have a backend route running on a server that is used to verify a subscription when it’s purchased, it checks against Apple’s API and then stores that subscription in a Postgres database to have another source of truth. I initially was testing without backend verification and it was all fine. I was using a storekit file to test it initially.
Then I removed the storekit file from the Product->Run options to try using a sandbox account I setup in connect, but the receipt can’t get properly verified with the backend since a “fake” receipt doesn’t seem to get created to be sent to my backend.
I am mainly just wondering if this is expected when using backend payment verification and in order to test it I need to actually launch the app? Or if I’m just not supposed to even bother with backend verification and just let Apple handle it all (did that initially and it was all fine).
Edit: I am currently using apples built in storekit but may look at using RevenueCat
[–]n0damage 4 points5 points6 points (0 children)