Skip to main content
Question

Restore button issue! Error: The receipt is missing

  • March 21, 2025
  • 1 reply
  • 12 views

Forum|alt.badge.img+3

Hello.  I’ve only recently been flagged for the missing Restore button on my app.

I’m experiencing the ‘Receipt Missing’ error for the restore action.  I’ve been pulling my hair out for 2 days on this issue.  I’m using Expo and have limited access to error logs.     I’ve read EVERY existing post, github issue and document and none are helping my scenario.

I’ve added the requisite code in your documentation for my react-native implementation.

try {

    const customerInfo = await Purchases.restorePurchases();

    if (Object.entries(customerInfo.entitlements.active).length > 0) {
        return true;
    } else {
        return false;
    }

} catch (e) {
    return e
}


I”m testing my app on Testflight and using Sandbox accounts, and making a purchase (which has been working for over a year in RC), before trying the restore button.

My Restore button displays the prompt for my sandbox account.  On submit I get an error: “Error: The receipt is missing”

Here’s my testing flow (as crazy the following appears, it’s 2025 and still necessary with Testflight/Sandbox):

  1. Create a sandbox account in App Store Connect
  2. Install the app using Testflight -  logged in under real Apple id
  3. Sign out of the real Apple ID
  4. Sign in (Settings > Sandbox Account) using Sandbox email instead of real apple id
  5. Open the app 
  6. Subscribe to my auto-renewing subscription product
  7. Delete the app
  8. Logout of sandbox account
  9. Repeat steps 2-5
  10. Click on Restore button
  11. I get “Error: The receipt is missing”

I’ve also tried:

  1. Restarting the iPhone
  2. Different Devices
  3. Wiping sandbox purchase data
  4. Creating new sandbox accounts
  5. Removing all customer data from RevCat and starting over
  6. All combinations of the above!​​​

Is there any help RevCat or others in the community who may have solved this issue can offer in debugging this nightmare?  I have to comply with their request to add the Restore button and can’t move forward until I do.

Thanks!

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 277 replies
  • March 25, 2025

Hi ​@alexanderlamm! I’m sorry you’ve experienced this. The problems you've mentioned are (unfortunately) consistent with what we typically hear about in the sandbox environment. Sometimes deleting/reinstalling the app, creating a new sandbox tester account, or waiting 24 hours is enough to resolve this issue. As long as you're able to successfully make some purchases correctly, I would expect production purchases/restores to function as expected.

Also, just to clarify - are Apple reviewers also experiencing this issue? You mentioned that you have to add the Restore purchases button (which is required by their terms), but have they rejected your app due to this? 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings