Skip to main content
Question

Restore Works in Sandbox but Fails in TestFlight

  • December 16, 2024
  • 2 replies
  • 39 views

Forum|alt.badge.img+7

Currently, the restore functionality works correctly in the Sandbox environment, but issues arise in TestFlight.

  1. In TestFlight, when a user who has not made a purchase presses the Restore button, it incorrectly shows the purchase as restored.
  2. In Sandbox, when a user who has not made a purchase presses the Restore button, it does not show the purchase as restored, which is the expected behavior.

I’m unsure why this issue only occurs in TestFlight. What solutions are available to address this discrepancy?

 

 

 

 

This post has been closed for comments

2 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 418 replies
  • December 18, 2024

Hi ​@Jonghwan,

This shouldn’t be happening in Testflight, if a user has never purchased anything the restore shouldn’t give them a free subscription. It’s hard to know without the user ids and see what’s going on so I would recommend to do the following:

  • Check the sandbox account you are using in your device and compare everything you see in the customer history in RevenueCat with how your app behaves. Sandbox accounts can be different from the production one.
  • Create a new sandbox test account and log in, then try to restore the purchase and see what’s happening.
  • Check how do you identify customers in the SDK and what’s the transfer behavior you have set. It could be that you are just transferring a purchase from different accounts. 

If you can’t see anything wrong after those checks, open a support ticket and we’ll be happy to help you!


Forum|alt.badge.img+7
  • Author
  • Active Member
  • 14 replies
  • December 18, 2024

@joan-cardona Thank you so much for replying!

 

I think it was just a bug.

 

could you please answer this question?

 

I have problem with this.

 

thank you so much!


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