Skip to main content
Solved

PurchaserInfo is empty after migration


Forum|alt.badge.img+4

Hi, 

I added RevenueCat iOS SDK to my app, but I already use in-app-purchase and I have paid customers, but when try call

Purchases.shared.purchaserInfo { purchaseInfo, error in
            guard error == nil else { return }
}

I get purchaseInfo empty and don't have any purchase, can you please help me to fix this.

Thanks.

Best answer by tina

Hey @Elsayed Hussein 

It sounds like you migrated to RevenueCat from an existing subscription system. I updated the post title to reflect that. Did you refer to our Migrating Subscriptions guide when making this switch? The PurchaserInfo object pulls information from our servers, not from the device directly. It sounds like those migrated customers’ receipts didn’t get synced with our servers yet. Did you call syncPurchases upon the first app? Alternatively, customers and manually trigger the restoreTransactions button to send the receipt to us. 

View original

2 replies

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • December 17, 2021

Hey @Elsayed Hussein 

It sounds like you migrated to RevenueCat from an existing subscription system. I updated the post title to reflect that. Did you refer to our Migrating Subscriptions guide when making this switch? The PurchaserInfo object pulls information from our servers, not from the device directly. It sounds like those migrated customers’ receipts didn’t get synced with our servers yet. Did you call syncPurchases upon the first app? Alternatively, customers and manually trigger the restoreTransactions button to send the receipt to us. 


Forum|alt.badge.img+4

I get it, thanks.


Reply


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