iOS-Receipt-Validator-PHP
iOS-Receipt-Validator-PHP copied to clipboard
Missing Apple App Secret in your code
You need to send request with "Apple App Secret" to validate receipt otherwise it returns 500 - Internal server error.
So, I made following changes in your code where you need to past your apple app secret
private function encodeRequest() { return json_encode(array('receipt-data' => $this->getReceipt(), 'password' => 'APPLE_APP_SECRET')); }
Hi,
Please can you tell me what 'APPLE_APP_SECRET' is required here as I am also getting the same error?