#tomasconnor
1 messages · Page 1 of 1 (latest)
It looks like the user was deleted twice
https://dashboard.stripe.com/test/logs/req_wKG7IR3SIb8uz6 first deletion succeeded
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Next deletion failed (since the customer is deleted already)
You would want to check why the Delete user data extension is executed twice
Thank you @median sky
What instructions do you recommend please? Should I direct this to firebase support?
Firebase support:
Hi Tomáš,
My apologies for getting back to you this late. I was running some tests and I was able to reproduce the issue. However, I realized that this issue happens even when the Delete User Data extension is not installed, and it can be reproducible by deleting the Firestore document manually from the console. Having said this, the issue fails on the Stripe extension end. Since my expertise is limited on official Firebase Extensions, inputs from my side on external products may cause an unexpected result other than the desired one.
With that in mind. I want to point you in the right direction. You can file an issue on the official extension repository. The Stripe team is better prepared to help you with troubleshooting.
I hope you find this information useful. If you have any questions or comments regarding this, please let me know. I'll do my best to help you out.
Hi there Yes I would recommend circling back to Firebase Support. The Firebase Delete User Data https://firebase.google.com/products/extensions/firebase-delete-user-data is a Firebase official extension if I understand correctly
Made by Firebase
Unfortunately, it seems to happen even without this extension. 😦
That part I am not sure about. How did you delete Customer without using that extension?
Stripe/v1 NodeBindings/8.191.0 Firebase firestore-stripe-payments/0.3.0
I see this
This part, probably you were calling it twice:
Delete the user by calling the delete method with user reauthentication.
In the configuration of the extension: Start payments with Stripe (see screenshot), Automatically delete Stripe customer objects is set to Auto delete. As soon as the customer object is manually deleted from the Firestore database, the extension automatically deletes the customer object in the Stripe console as well.
Okie. I also notice when you had 2 requests to create Checkout Session and 2 request to update that Customers. Any idea if you have 2 extensions running on same input?
This may just be due to testing within a development environment. That is, I created several subscriptions several times in a short period of time.
But the time is identical. You can see they are mostly simultaneous for 3 pairs of (/v1/checkout/sessions) POST (/v1/customers/cus_xxx) DELETE (/v1/customers/cus_xxx)
Yes you are right. I wonder what it could be. These operations are probably handled by Run Payments with Stripe (webhooks?)
Is that another extension?
There probably won't be a bug in my app as Firebase support was able to reproduce it directly by manually deleting the object in Firestore and then it appeared as well.
I only use these two.
Oh I see. I don't think it's something related to Webhook
If you are just testing, I would recommend do a clean install by removing and re-add the extension, or start fresh with another Stripe Account
Sorry running out of ideas. From data point of view I can only see that each and every requests from your account is doubled
Ok, I'll try 🙂 Thank you orakaro.