-
Notifications
You must be signed in to change notification settings - Fork 179
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
Refunded state #315
Comments
The Charge Object in the Payment Intent Object already has a refunded boolean flag - only it is not updated on a refund. We need to revoke the user's authorisation if the payment has been refunded - what are the options? |
Bumping this. Is there a way to tell if a payment in the I assume the change would be made in the
|
I'd be happy to start on adding a Pull Request with the changes, since I'd definitely use a feature of this nature, but I'm not sure if that's a Stripe anti-pattern or goes against the intended usage. I'd be interested in hearing what folks at Invertase think about that matter. Dare I tag someone - @dackers86 ? If that sounds like something reasonable to add, I'd be happy to do some work on it, but don't wanna go down a rabbit hole if that's just not a good route. To be clear, my ultimate goal is to pick up on refunds to single-payment product purchases. Is this silly? |
This sounds very useful feature. Perhaps we could update the Firestore payment document in Firestore based by adding the necessary web-hook event to the following:
Api reference: https://stripe.com/docs/api/charges/object#charge_object-refunded. A PR may also provide additional context from the community on how best to use this property in Firestore. |
Sounds good, thanks for the reply, I'll get cooking on this in the near future here. Cheers 👍 |
Hi there, Is there an update on this issue? We are selling our product with a one-time payment and we have no way yet to differentiate between users who have purchased and users who were refunded after purchase (thus, should not access the app). Thanks for your help! |
Any news on this? A status change or sth like that in the payment document that is being refunded would be very helpful. |
I never ended up doing any work on this, but I have been checking in on progress from Invertase over the past few months. - mostly because I spent time upgrading all my firebase functions to be 2nd gen.; I was curious if this extension was going to use the 2nd gen functions from the |
Thank you very much for your reply! Ok - I guess we'll just have to mark them manually as refunded in firebase since our customer base is not that huge yet. So, I can't justify spending too much time on it. |
We really could use this functionality too. We are introducing a one-off purchase for our customers which can be bought instead of a subscription. Refunds seems like a fairly obvious omission given the It would be great if we could add webhook events for |
Hi guys.
This is not actually a bug but maybe later can be a feature request. So the main question is that how can I detect on saved invoices and payments the refunded state? Is there a listener for this event in this package?
The text was updated successfully, but these errors were encountered: