Always returning status 21004

In sandbox envirnoment, after making an auto-renewing subscription, all calls to: https://sandbox.itunes.apple.com/verifyReceipt Always returns:

{

environment = Sandbox;

status = 21004;

}

This error is meant to mean that the password sent with the request in wrong.

I am sending both the "receipt-data", and the "password". And I have checked a million times that the "password" matches the shared secret in iTunes Connect.

This same call works fine when validating a receipt before an anto-renewing subscription has been purchased.

So I am just wondering if this is a current issue on Apple's end, and if anyone else is experiencing the same problem?

Answered by in 213798022

I was just informed that this problem has been fixed. I then used a sample receipt provided in a recent bug report, and the receipt validated in the sandbox and presented the info on the auto-renewing subscriptions


rich kubota - rkubota@apple.com

developer technical support CoreOS/Hardware/MFI

What password i need send for verify Receipt ?

In "App Store Connect", under "My Apps", at the top is a "...". Tap that and then select "Master Shared Secret".

Thanks rich.


Your answer is helpful to me.

Always returning status 21004
 
 
Q