#sandyk-charge-failed
1 messages ยท Page 1 of 1 (latest)
I have py_1Kyjb2BVfuMTCR40YGDyRbkd and py_1L2gWXBVfuMTCR40CiS6NVkX
Hmm seems like these were blocked by radar
Not sure we send any webhook events for blocked charges such as these
ok. thanks for checking. is there such a thing as a place where users can submit api feature requests?
Hello! Taking over and catching up...
The best place to submit detailed feature requests is by writing in to support: https://support.stripe.com/contact/email
If it's a small feature request you can tell me here and I'll flag internally. ๐
got it, thanks. Hanzo mentioned there's a possibility that payments blocked by Stripe Radar aren't being registered in any one of your webhook events. May I just get final confirmation that indeed this is the case Rubeus?
Our system needs an easy way to record transactions where ~~~~the failure code is "could_not_process"~ ~~where on the dashboard there is a popup note stating: This payment failed because Stripe determined it was too high-risk. We've been using the charge.failed webhook but it doesn't look like blocked payments are being sent on this webhook endpoint
Investigating this now, hang on...
Looking at that first example you provided I found that the request to create that Charge actually failed: https://dashboard.stripe.com/logs/req_yGaigIQF3iFlaQ
I think it's expected that we wouldn't send an Event as you got the error detail in the response to that request.
However, I'm confused about how this happened? How did you find these Charges and what led to the situation you're in?
ok that makes sense since I guess a charge was never initiated. The api request to create a charge did fail because it looks like Stripe blocked our request to initiate the charge. Since our system only catches events from charge.failed, we were never notified of the blocked attempt until we went in and manually checked an account on the stripe dashboard
What is your system set up to do when creation of the Charge fails?
we create a transaction row to record the stripe charge id and the stripe charge status (pending, failed, paid)
Right, but if the Charge isn't created at all and you don't get an ID back how does your system handle that?
We try again with whatever remaining payment methods are left on the account if any.
We depend on the stripe webhooks to record what happens when a charge is initiated (either via our system or when someone goes into stripe dashboard to charge an account) but didn't think blocked charges were a thing. From what you're saying, it looks like we should just handle it in the catch block but what happens when we make a charge directly on the customer's stripe dashboard and not through our system?
Unless Stripe only blocks charges when the request is done via the api(?)