question

laurentg avatar image
laurentg asked

iOS purchases suddenly not going through anymore (error: 21004)

Authenticationsupport
4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

laurentg avatar image laurentg commented ·

Our LIVE in app purchases are suddenly failing (started yesterday) with the following error:

validateIOSReceipt:iTunes Sandbox validation result: 21004 (InvalidSharedSecret) from https://sandbox.itunes.apple.com/verifyReceipt

when they used to work just fine just two days ago.

We have not changed anything at all in our configuration (especially not the secret) and we are contacting Apple in order to figure out what may cause this but could this also be an issue on PlayFab's side?
We have two projects who rely on the same secret and they are experiencing the same issue.
(They have not changed it either.)

Thanks in advance.
Cheers,
Laurent

0 Likes 0 ·
laurentg avatar image laurentg commented ·

Also I must confirm that this is a live/release environment so I am not too sure why the "sandbox" environment is in use here but apparently we have no control over that.

Maybe this is actually the issue?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan laurentg commented ·

What's your title id?

0 Likes 0 ·
laurentg avatar image laurentg commented ·

@Citrus Yan thanks for your reply and sorry for the delay, this was actually caused by an expired secret. Renewing it fixed the issue..

0 Likes 0 ·

1 Answer

·
laurentg avatar image
laurentg answered

@Citrus Yan sorry for the delay, we actually found that our secret was expired. Using a more recent one fixed the issue.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Citrus Yan avatar image Citrus Yan commented ·

NP, glad you solved it:)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.