Skip to main content
Question

Invalid receipt error

  • February 4, 2026
  • 1 reply
  • 67 views

Forum|alt.badge.img

Hi guys,

I’ve integrated RevenueCat several times in Flutter applications, but this time something strange is going on whenever I try to make a purchase on an actual device using the Apple’s sandbox account.

I am charged on Apple and my subscription on Apple is active, but RevenueCat returns an error. The customer on the RevenueCat dashboard doesn’t seem to have an active subscription.

I also tried changing the sandbox user, deleted the customer from the RevenueCat dashboard and tried again, but the issue still persists.

Debug logs for the error
Request-ID: '5ad15917-8bbc-423e-af57-473db0f0c502'; Amzn-Trace-ID: 'Root=1-69830dfb-54296ef62baba1f255786ed5'
flutter: SubscriptionService: Error purchasing package: PlatformException(8, The receipt is not valid., {readableErrorCode: INVALID_RECEIPT, message: The receipt is not valid., underlyingErrorMessage: The receipt is not valid., readable_error_code: INVALID_RECEIPT, userCancelled: false, code: 8}, null)
flutter: PaywallController: Unexpected error during purchase: PlatformException(8, The receipt is not valid., {readableErrorCode: INVALID_RECEIPT, message: The receipt is not valid., underlyingErrorMessage: The receipt is not valid., readable_error_code: INVALID_RECEIPT, userCancelled: false, code: 8}, null)

 

This post has been closed for comments

1 reply

matt-heaney
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • February 4, 2026

Hey ​@talha 

 

This is Matt from RevenueCat, I’d love to help get this resolved!

 

Apple’s Sandbox account can be unreliable at times, but there are a few common reasons that can cause this issue, which we can work through together to get this sorted!

 

You mentioned you tried with multiple sandbox users. To confirm, was this a new sandbox user? If this was an old sandbox user which you had swapped in, please can you try with a newly created sandbox user.

 

This can also happen when Product IDs do not match up. This could happen if the IDs used for products on App Store Connect do not match those on RevenueCat. A common route for this issue is working with a Store Configuration file. Are you using a Store Configuration file?

 

This could also be caused if there is some configuration misalignment in your project, such as using a different Bundle ID than listed in RevenueCat for this project.

 

If none of these are the root cause, could you please private message me the user ID, and confirm which app ID and product ID this is for? I’ll dive deeper into your account to see if anything needs addressing there!

 

Hope this helps!