RevenueCat / firestore-revenuecat-purchases

Apache License 2.0
23 stars 7 forks source link

Error: There is no user record corresponding to the provided identifier. #85

Open ImpuscatuAndrei opened 1 month ago

ImpuscatuAndrei commented 1 month ago

Hello !

I'm trying to integrate firebase-revenuecat-purchases with Stripe and RevenueCat. While with Apple Store and Google Play store the extension works correctly, when I try the same thing with the Stripe integration I get this error:

Error: There is no user record corresponding to the provided identifier.

The error is correct, because Stripe creates a unique customer id that serves as the customer ID in revenue Cat. But that Stripe customer id does not exists in my firebase because it's created by Stripe.

Is there a solution or a workaround for the case where the user ID in firebase does not exists?

Thank you!