#digdug
1 messages · Page 1 of 1 (latest)
the second screenshot is my response from listing invoices. that is invoice.status but in dashboard it shows as Pending
Hello, as Toby noted, "Pending" is not a status #1121799939543019532 message
this is for us_bank_account payment method after a customer initiates payment the invoice status changes to Pending in dashboard but remains as Open in response
It is a status
it shows in the dashboard as Pending
Sorry to clarify
It is a dashboard status but it is not a status on the invoice object itself
The dashboard looks at both the invoice and the payment intent
So you can do that to check for pending yourself
Is there somewhere I can pull the status of Pending?
Oh wait I mixed up "Pending" with processing which is when a payment is in transit. https://stripe.com/docs/api/payment_intents/object#payment_intent_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.
I will check in to what exactly the Pending status means
Can you send me the ID of the invoice that you see in that "Pending" status? It should be in the dashboard's URL and will look like in_1234....
Sounds like I actually may have been right initially.
In the Dashboard, open invoices appear as pending when their associated payment intent is in the pending state.
https://stripe.com/docs/invoicing/overview#invoice-statuses
got it so i need to grab the payment intent status as well and logic that
So if you check the Invoice's PaymentIntent's status it will be pending if the intent's status is processing