Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by laurentg · Oct 05, 2020 at 01:31 AM · Authenticationsupport

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

Comment

People who like this

0 Show 4
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image laurentg · Oct 02, 2020 at 04:28 PM 0
Share

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

avatar image laurentg · Oct 02, 2020 at 04:32 PM 0
Share

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?

avatar image Citrus Yan laurentg · Oct 06, 2020 at 02:59 AM 0
Share

What's your title id?

avatar image laurentg · Oct 08, 2020 at 06:22 PM 0
Share

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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by laurentg · Oct 08, 2020 at 07:56 PM

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

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Citrus Yan · Oct 09, 2020 at 02:22 AM 0
Share

NP, glad you solved it:)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Lightweight mmo possible in Unity + Photon Bolt + Playfab? 1 Answer

    Facebook/Google LogIn using the same PlayFab Account 2 Answers

    Playfab and Photon Steam user authentication change 1 Answer

    Unique account per device 2 Answers

    Secure GameCenter login with UnitySDK 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges