Unity IAP - Restore Purchases doesn't work if there's no items to restore

I’m testing my iOS app through Xcode with 2 Sandbox users.

  • The user A bought one item from the store and when I call the RestorePurchases() method it restores the item following the procedure (calling ProcessPurchase() method). It works perfectly!

  • The user B doesn’t have any product in its history (never bought any item from the application) but when I call the RestorePurchases() methods it stuck, basically the ProcessPurchase() never gets called.

The Xcode log has no relevant information but
UnityIAP: PaymentQueueRestoreCompletedTransactionsFinished

It looks like that method doesn’t trigger the ProcessPurchase(). Am I missing something?

Update:

I think I found the solution here

I’m gonna make some further tests