Skip to main content

I am getting this error from sandbox and the app in app store =>

flutter: PlatformException(8, The receipt is not valid., {code: 8, userCancelled: false, readable_error_code: INVALID_RECEIPT, underlyingErrorMessage: The receipt is not valid., message: The receipt is not valid., readableErrorCode: INVALID_RECEIPT}, null)

Also I’ve checked this steps

  1. App Store Connect App-Specific Shared Secret is correct
  2. My public api key is correct

What is the solution?

Hi, Here are our general recommendations for this error. Something that I would also recommend is attempting to recreate the issue with a new sandbox test user as Apple’s sandbox environment can sometimes be unreliable and that may resolve the issue. If that does not resolve the issue, could you share the app user ID of the account experiencing this issue so that we can take a closer look on our end? If you would rather not share that information publicly, you can also create a private support ticket