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

extension double-charging customers for old invoices?! #613

Open
kayleigh222 opened this issue Mar 1, 2024 · 0 comments
Open

extension double-charging customers for old invoices?! #613

kayleigh222 opened this issue Mar 1, 2024 · 0 comments

Comments

@kayleigh222
Copy link

Bug report

  • Extension name: firebase-stripe-invoices

Describe the bug

Firestore docs in our database contain the correct order info, a list 'items' of items ordered. However, some customers are receiving invoices that include the items in that order list AND all items they've purchased in previous orders (so the invoices are for way too much money).

To Reproduce

I'm actually not sure how to do this without sharing our database sorry, because there is no code - it's just the db doc, and the Stripe extension is supposed to take it from there. Please let me know if you have an idea how I can better give steps to reproduce :)

Expected behavior

Stripe sends an invoice for the items in the 'items' list in the firestore doc.

(instead, found behaviour: Stripe sends an invoice for the items in 'items' list and all previously ordered and paid for items)

Screenshots

Here's an example of a list of items stored in an order doc in our db (some of these screenshots overlap but bear with me - there are only 6 products in this list):
image
image
image
image
image

And this is the invoice the customer received:
image

System information

  • OS: Windows
  • Browser (if applies) Chrome

Additional context

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