Storekit: Testing receipt validation - When to use which server address?

215 Views Asked by At

I am starting to get really confused about this receipt validation. So there is the live server from apple and the sandbox server for the receipt validation. When do I need to test which? Some users complain they get the message, that no receipt can be validated. So if I want to test it I get the following results:

  • Xcode Simulator with sandbox server: Works
  • iPhone connected to Xcode with sandbox server: Works
  • iPhone connected to Xcode with live server: Doesn't work
  • Testflight app connected to live server: Doesn't work

Last point I am especially confused since we wanted to make a public beta. Is this correct that the testflight app needs also the sandbox server for verification?! Or is something wrong with my code?

0

There are 0 best solutions below