Search code examples
iphonec++postvalidationreceipt

Validating iphone receipt from c++


I'm trying to validate an iphone receipt from a c++ server (I have the receipt encrypted with base64, I'm composing a json object according to apple docs, and then I open a socket to the sandbox and send a POST request).

The server responds with error 503 Service Unavailable.

I suspect that I don't compose the POST request correctly.Does anyone know how should look the POST request for the apple store ?

Thanks


Solution

  • I solved the problem, in this case the problem was that I was using the http instead of https.