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:
- Navigate to your Firebase console
- Select Extensions
- Select your Stripe Firebase Extension
- 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:
- wrong secret key (different account, live mode instead of test, etc.)
- 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.