#mike-dotnet-failure
1 messages ยท Page 1 of 1 (latest)
hey there
why did it throw the error rather than assigning it to the LastPaymentError property?
I don't know, what's the error exactly? Do you have an example request id req_123 I can look at?
i do not unfortunately
i have the payment number here but i do not know of a safe way to transfer it to you
this is a public chat right
Every API error contains detailed information about both the error itself (code, message, etc.) and a request_log_url
you should be able to find it from your error, or straight from your Logs in the Dashboard https://dashboard.stripe.com/logs
right i see the error
but the call to PaymentIntentService.ConfirmAsync has a LastPaymentError property in the result
the error was thrown in .NET rahter than assigning it to that property
I understand, but there are many types of errors that can happen. Maybe you had a network error or a rate limit error. Those wouldn't make any sense to assign in last_payment_error
thank you for that it was actually a no funds available error
which seems like a payment error ๐
Yeah I can't really do much without more details like an exact request id
how do i share that securely with you?
a request id is not really sensitive, req_123
okay so this is a PaymentIntent confirmation. It always errors synchronously to tell you the payment failed and for you to catch the error. That's how our API always works. It also has last_payment_error set as a record of what happened