Home > Software engineering >  Products from Stripe are not pushing to Firestore
Products from Stripe are not pushing to Firestore

Time:01-12

I'm trying to make netflix clone with this tutorial - https://www.youtube.com/watch?v=AHYVxg-lJX4&t=109s but products from Stripe are not pushing to Firestore

i went through this tutorial 1000 times and did everything exactly the same, but they just don't transfer, i tried to add it manually, but the app doesn't work

CodePudding user response:

From the tutorial, have you installed the Stripe Firebase Extension?

https://extensions.dev/extensions/stripe/firestore-stripe-payments

If this has been installed:

  1. Navigate to your Firebase console
  2. Select Extensions
  3. Select your Stripe Firebase Extension
  4. View all logs

Most likely this is a Stripe key issue if the Ext is installed correctly.

If working correctly your products will appear in your Firebase collection as defined in your Stripe extensions configuration. Most likely the products collection in your Firestore database.

CodePudding user response:

There's no way to know exactly what is the issue, but common problems could include but not limited to:

  1. wrong secret key (different account, live mode instead of test, etc.)
  2. incorrect rules (you can recheck the rules on the video)

You need to check the video again for any small detail that you might have missed.

  • Related