Skip to main content
Answer

Restore purchases works when running in Xcode but doesn't work in TestFlight

  • October 18, 2021
  • 2 replies
  • 466 views

Forum|alt.badge.img+3

Hello, I have a problem with implementation of restore purchases (I am using RevenueCat anonymous ID’s). When I run Purchases.shared.restoreTransactions in Xcode it returns right subscription status but when I upload it in TestFlight it stops working. I am signed with the same sandbox account. Any ideas what I am doing wrong? Thanks in advance

 

Best answer by psrajer

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight

This post has been closed for comments

2 replies

Forum|alt.badge.img+3
  • Author
  • Helper
  • Answer
  • October 19, 2021

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight


Forum|alt.badge.img+1
  • New Member
  • January 21, 2022

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight

Can you elaborate? What actions are needed to rectify? Or are you saying its OK for restore purchases to be broken in testflight?