Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Apple App Secret in your code #13

Open
umangmjoshi opened this issue Apr 29, 2017 · 1 comment
Open

Missing Apple App Secret in your code #13

umangmjoshi opened this issue Apr 29, 2017 · 1 comment

Comments

@umangmjoshi
Copy link

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'));
}

@billymahmood
Copy link

Hi,

Please can you tell me what 'APPLE_APP_SECRET' is required here as I am also getting the same error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants