New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FAQ] Products and prices not syncing with Cloud Firestore #35
Comments
Also seeing this while retrying: failed to startDeploymentManagerWork for instance id: firestore-stripe-subscriptions, parentId: clowte-prototype: error updating deployment for "projects/clowte-prototype/global/deployments/firestore-stripe-subscriptions" with delete policy "ABANDON": DM HTTP 404 error. Body: { "error": { "code": 404, "message": "The object 'projects/clowte-prototype/global/deployments/firebase-ext-firestore-stripe-subscriptions-t1zkfn' is not found.", "errors": [ { "message": "The object 'projects/clowte-prototype/global/deployments/firebase-ext-firestore-stripe-subscriptions-t1zkfn' is not found.", "domain": "global", "reason": "notFound" } ] } } |
I think that above error is just because I clicked cancel or tried reconfiguring too many times too quickly. |
@VinLucero the way product and pricing information is entered into your Firestore is via webhook events that are sent from Stripe. These events are only emitted when you either create a product/price or when you update it (e.g. update the name or description). So if you delete the existing product collection and change the collection path in the extension, you will need to retrigger these events. One way to do this is by archiving the product/price and then unarchiving it or alternative updating the name or description. I'm leaving this open in case others run into this and to track that we should add this to an FAQ somewhere. |
Closing. Issue appears to have been resolved. |
@VinLucero Can you confirm this is no longer an issue? |
Bug report
firestore-stripe-subscriptions
]Describe the bug
FireStore collections not being created / updated upon reconfiguring customers / products in Extension config.
To Reproduce
When you are in the Firebase Dev Console and click on Extensions > Stripe Extension Manage Button > Extension Configuration
I deleted my previous collections and renamed them as follows in bold:
Products and pricing plans collection
Description: What is the path to the Cloud Firestore collection where the extension should store Stripe pricing plans?
products
Customer details and subscriptions collection
Description: What is the path to the Cloud Firestore collection where the extension should store Stripe customer details?
customers
Expected behavior
I would expect the FireStore collections to be created and/or updated upon clicking Save and reconfiguration completes.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: