Solved

PurchaserInfo is empty after migration

  • 15 December 2021
  • 2 replies
  • 64 views

Badge +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.

icon

Best answer by tina 17 December 2021, 19:43

View original

2 replies

Userlevel 5
Badge +10

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. 

Badge +4

I get it, thanks.

Reply