#フー
1 messages · Page 1 of 1 (latest)
Can you share the event ID (evt_xxx) that you referred to? Can you explain what you want to achieve?
there have many event id but what i know
when customer has unpaid billing to my application there will have page to redirect to invoice url, but when customer click the button for redirect there response empty invoice "open" there the issue, but when 10 minute later when we check the response have url invoice
Can you share the invoice ID (in_xxx) that you intend to direct to its invoice URL?
i change the question , can i use "latest_invoice" from subscription API for get the latest invoice open ? or invoice in latest_invoice status is draft ?
The invoice in latest_invoice can be in draft
Stripe will only attempt to charge customer when the invoice is in open status
and how i can find the latest_invoce have status open ? API list all invoice item with param status "open" ?
To find the invoices that has open status, you can use List Invoices APi with status: 'open': https://stripe.com/docs/api/invoices/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.