invertase / stripe-firebase-extensions

Repository of Firebase Extensions built by Stripe.
https://firebase.google.com/products/extensions
Apache License 2.0
423 stars 161 forks source link

On Firebase user creation about 2% of users do not get stripe ID back in their Document/profile #238

Closed kbringsjord closed 1 year ago

kbringsjord commented 2 years ago

Bug report

Describe the bug

Hello, I am using the stripe firebase extension and it works very well and greatly appreciate all of your efforts. However, about 2% of the time when users signup and a user document is created the extension neglects to put the stripe id into their profile. It does however consistently make stripe profiles for them and put the firebase uid in their stripe meta.

To Reproduce

Utilize the webhook in extension to automatically tie firebase and stripe user profiles together.

Expected behavior

100% of time stripeid into user profile on document creation

System information

web (mobile/desktop)

thorsten-stripe commented 2 years ago

What version of the extension are you running, what are your configuration options regarding customer syncing and do you see any error logs in your Cloud Functions?

kbringsjord commented 2 years ago

stripe/firestore-stripe-subscriptions@0.1.13 No i do not see any errors. I entered the collection name of users. Seems to actually be happening more than 2% of time now

kbringsjord commented 2 years ago

This issue seems to also no be affecting the subscription's updating. Would anyone from the stripe team have 15 minutes to do a zoom session?

thorsten-stripe commented 2 years ago

Unfortunately we can't do a zoom session, but you can hop on our technical chat for help: https://stripe.com/go/developer-chat

Please also update the Firebase extension to the latest version and check the Stripe webhook logs and Firebase function logs.

dackers86 commented 2 years ago

hi @kbringsjord

Are you still experiencing these issues, did upgrading to the latest version provide a solution?

Loocos commented 4 months ago

hi @kbringsjord

Are you still experiencing these issues, did upgrading to the latest version provide a solution?

Hi @dackers86,

I'm encoutering the issue with the version 0.3.4. I'm not able to figure out why sometimes it doesn't works

Do you've any idea where it can come from ? You've never face this problem before?

Loocos commented 4 months ago

Ok my bad, I miss reading the README 😄

This project has now being officailly transferred to Invertase, who will maintain this extension going forward. Please see https://github.com/stripe/stripe-firebase-extensions/issues/524 for more details. It is now reccomended to uninstall the stripe/firestore-stripe-payments extension and install invertase/firestore-stripe-payments from the Firebase Extension Hub.

Alternativley, you can also use the following link to convert your current installation to the Invertase version

https://console.firebase.google.com/project/_/extensions/install?instanceId=STRIPE_EXTENSION_INSTANCE_ID&ref=invertase%2Ffirestore-stripe-payments@0.3.5

Gonna have a try