Skip to content
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

Delete Product Metadata Item Does Not Delete From Firestore Document #639

Open
nicolasheady opened this issue Sep 27, 2024 · 0 comments
Open

Comments

@nicolasheady
Copy link

Bug report

  • Extension name: firestore-stripe-payments

Describe the bug

Deleting a metadata item on a Product does not delete it from it's Firestore document.
Adding and changing metadata keys and values updates the Firestore document as expected. Adding and deleting metadata from the Price also updates the Firestore document as expected. It is only DELETING a metadata key/value pair from a Product that is not updating the corresponding document in Firestore.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to the Product Catalog on Stripe.
  2. Open a product.
  3. Delete a metadata item.
  4. Look at the corresponding Firestore document.

Expected behavior

Deleting an metadata item on a product should also delete it from the Firestore document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant