Skip to main content
Question

Restore Function Returning True in TestFlight Without Purchase

  • December 17, 2024
  • 1 reply
  • 18 views

Forum|alt.badge.img+7

Hello,
I’m currently testing the restore purchase functionality in my app, and I’ve encountered an issue where TestFlight testers receive a true response when triggering restore, even though they have no purchase history.

  • Details:
    • In Sandbox, it works correctly.
    • In TestFlight, the restore function returns success (true) even when no purchases were made.

Is this behavior specific to TestFlight? Will this issue persist in the production environment, or is it safe to assume it will work correctly in live deployment?

This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 383 replies
  • December 19, 2024

When you say it returns “true”, do you mean you see a resulting purchase in the CustomerInfo object that gets returned? Or are you checking whether the return is truthy? (in which case, it would evaluate to true)


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