#JonnyDenGro
1 messages ยท Page 1 of 1 (latest)
Can you share the invoice id?
Sure in_1NVAMVEXq1GrSRVnKCQ2qQzy
I think you might be looking in the wrong place. This invoice isn't paid: https://dashboard.stripe.com/test/invoices/in_1NVAMVEXq1GrSRVnKCQ2qQzy
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
There appears to be an incomple payment but the invoice is showing with a status of failed. How can I see this 'failed' status via the API?
So failed isn't actually an invoice status. See: https://stripe.com/docs/api/invoices/object#invoice_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What's the end goal though?
Recommend you listen to invoice.payment_failed events to get notified of invoice payment failures
We have a table that shows a customer all of their invoices, with details such as amount, status, date.
The status column is confusing them, as we are currently seeing 'open' as the status for this one. but the dashboard shows us 'failed'.
We are essentially trying to replicate the attached
We are already listening to the event you mentioned and trigger an email based on that, but we would like to show 'failed' in the table
Hi ๐
THe Dashboard is showing the status of payment attempts for the invoice
I'm stepping in as @crude bay needs to go
If you receive the payment failed notification, why can't you show the Failed status to your customers?
Our invoice table is generated based on the response from this endpoint https://api.stripe.com/v1/invoices?customer=cus_OCUb0stjFNxc5K&limit=10 there is nothing in here that we can tie back to the failed payment attempt
Sure you can. You can expand the PaymentIntent associated with each Invoice to see the status of the lastest payment attempt: https://stripe.com/docs/expand