Skip to main content
Sticky

iOS 'Receipt is invalid' Megathread

  • Feb 8, 2023 3:20 PM UTC
  • 54 replies
  • 6413 views

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff

If you’re here, it’s probably because you’ve encountered an active issue related to Apple’s receipt verification.

RevenueCat relies upon Apple’s `verifyReceipt` endpoint which is currently facing an outage: https://developer.apple.com/system-status/

This seems to be affecting sandbox and TestFlight purchases only at this time, although Apple’s status page doesn’t mention it explicitly.

Encountering this issue? Post below ⬇️ RevenueCat isn’t able to resolve this at this time from our end, but it may help bring awareness and ease to other developers facing the same issue.

Update 2/8/23 19:20 UTC:

Customers (and me 😃) reporting things are working as expected again - post below if you’re still having trouble, seems like a slow rollout of a fix from Apple.

Update 2/8/23 17:40 UTC:

Apple’s reporting the issue is fixed, but we’re still encountering errors. Will provide another update as soon as possible.

54 replies

Forum|alt.badge.img+2

Hope they will resolve it soon ! :) 


cody
RevenueCat Staff
Forum|alt.badge.img+8
  • Author
  • RevenueCat Staff
  • Feb 8, 2023 5:41 PM UTC

Update: Apple’s reporting the issue is fixed, but we’re still encountering errors. Will provide another update as soon as possible.


Forum|alt.badge.img+2

Update: Apple’s reporting the issue is fixed, but we’re still encountering errors. Will provide another update as soon as possible.

For me, it is working 😍


Forum|alt.badge.img+3
  • Member
  • Feb 8, 2023 6:08 PM UTC

Update: Apple’s reporting the issue is fixed, but we’re still encountering errors. Will provide another update as soon as possible.

For me, it is working 😍

im still facing this error untill now  , are you happy now ?😂


Forum|alt.badge.img+4
  • New Member
  • Feb 8, 2023 6:33 PM UTC

I’m located in the US. Not fixed for me yet. 


Forum|alt.badge.img+2

Update: Apple’s reporting the issue is fixed, but we’re still encountering errors. Will provide another update as soon as possible.

For me, it is working 😍

im still facing this error untill now  , are you happy now ?😂

More than happy !! 😂


Forum|alt.badge.img+4
  • New Member
  • Feb 8, 2023 6:45 PM UTC

I’m located in the US. Not fixed for me yet. 

It just started working !!! 


Forum|alt.badge.img+2
  • New Member
  • Feb 8, 2023 7:18 PM UTC

@cody What’s the appropriate behavior of an app if it encounters a “Receipt Invalid” response during a purchase?  Not only is it showing “Receipt Invalid” but looking up entitlements in customerinfo shows an empy list, and that’s how my app checks for a subscription.  Does this mean that during this issue there is no way to check if a user is subscribed, or is there a workaround?

 

I just tested via TestFlight with a real icloud account, I’m still seeing the issue, getting receipt invalid after a purchase, entitlements return empty from Revenuecat, if I try to purchase again it says already subscribed.


Chris-29
Forum|alt.badge.img+5
  • Dedicated Member
  • Feb 8, 2023 7:25 PM UTC

I was able to make a consumable and sub purchase in the sandbox for the first time since Monday night.  I did it on my iPad. When I did a restore purchases attempt on my iPhone I got the same invalid receipt nonsense I’ve been getting since Tuesday BUT when I backed out of my purchases view the app recognized that a sub was valid and adjusted accordingly. I’m just glad things are back to normal so that I can keep developing.


Forum|alt.badge.img+5

For me it is still not working, I am trying to buy a subscription in sandbox mode (testflight) on iOS.
 

 


Forum|alt.badge.img+1

Still having this issue in West US when testing using a sandbox user on a device. I am getting an Apple purchases success modal for the purchase first, then getting the “receipt not valid” error. If I wait to click “Ok” on the Apple success modal it appears to work, but if clicking “Ok” quickly it throw “receipt not valid”.

 

Could be a race condition issue on Apple’s end? Hopefully it’s actually only affecting sandbox.


Forum|alt.badge.img+5

The exact same problem is happening to me @Dylan Thomas


Forum|alt.badge.img+2
  • New Member
  • Feb 8, 2023 9:14 PM UTC

Same here in Europe. Not resolved! Still not working. Expo with Revenuecat eas development build:

{"code":"8","message":"The receipt is not valid.","domain":"RevenueCat.ErrorCode","userInfo":{"NSUnderlyingError":{"code":"7103","message":"underlying error","domain":"RevenueCat.BackendErrorCode","userInfo":{"NSLocalizedDescription":"The receipt is not valid."},"nativeStackIOS" blablabla


Chris-29
Forum|alt.badge.img+5
  • Dedicated Member
  • Feb 8, 2023 11:04 PM UTC

Those of you still having trouble try signing out of your sandbox account and back in again.  On my iPad I just tried a sub purchase and it was failing repeatedly.  After sign out/in it worked on the first attempt.


Forum|alt.badge.img+5

Thanks @Chris-29 my subscriptions are working now.
Hey @Dylan Thomas and @user9837291 try the @Chris-29 `s solution.


Forum|alt.badge.img+2
  • New Member
  • Feb 9, 2023 1:08 AM UTC

Signing out and back in with a sandbox account worked, but logging in with my iCloud account on TestFlight still did not work!  I know behind the scenes Apple makes a Sandbox account for TestFlight users, how can I force it to log out of that account to fix this issue?


Forum|alt.badge.img+5

Signing out and back in with a sandbox account worked, but logging in with my iCloud account on TestFlight still did not work!  I know behind the scenes Apple makes a Sandbox account for TestFlight users, how can I force it to log out of that account to fix this issue?

Try creating a new tester account


Forum|alt.badge.img

Hi! Worked for a few hours and the problems started again. Is it really so? The Apple page says that the service is working properly, but I started getting sandbox errors again

 

update: worked again after several attempts, without changing anything


Forum|alt.badge.img
  • New Member
  • Mar 4, 2023 10:37 PM UTC

I still have the issue with a StoreKit config file and iOS simulator. Are there any updates on this issue?


Forum|alt.badge.img+5

I still have the issue with a StoreKit config file and iOS simulator. Are there any updates on this issue?

I'm trying via testflight and it's working correctly, I haven't tested it with StoreKit


Forum|alt.badge.img+7
  • Active Member
  • Mar 17, 2023 7:11 PM UTC

Still seeing this on the most recent version of the revenue cat SDK (react native js). This is not an issue production at all? Only in testFlight?
 

 


Forum|alt.badge.img+7
  • Helper
  • May 10, 2023 8:27 PM UTC

I just got this today. Is it still a thing?


Forum|alt.badge.img+2
  • New Member
  • May 11, 2023 10:46 PM UTC

I’m getting this today as well

 

Domain=RevenueCat.ErrorCode Code=8 "The receipt is not valid." UserInfo={source_function=convertUnsuccessfulResponseToError(), source_file=RevenueCat/HTTPClient.swift:415, NSLocalizedDescription=The receipt is not valid., readable_error_code=INVALID_RECEIPT, NSUnderlyingError=0x600003a040c0 {Error Domain=RevenueCat.BackendErrorCode Code=7103 "The receipt is not valid." UserInfo={NSLocalizedDescription=The receipt is not valid., rc_backend_error_code=7103}}, rc_response_status_code=400, rc_backend_error_code=7103}


Forum|alt.badge.img+2
  • New Member
  • May 11, 2023 10:48 PM UTC

cc @cody Looks like this is back???

:( 


Forum|alt.badge.img+7
  • Helper
  • May 11, 2023 10:49 PM UTC

I copied the example code that had usesStoreKit2IfAvailable set to true. I changed it false, and I see the error much less, but I have to release the app again.