#manuel_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- manuel_code, 20 hours ago, 10 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1252529013109293056
đ Have more to share? Add details, code, screenshots, videos, etc. below.
What transaction ID do you refer to?
When i have a payment succeded I receive an id starting with ch_
Ok, you can listen to charge.succeeded event, and get the invoice ID from the charge object https://docs.stripe.com/api/charges/object#charge_object-invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But i cant get a pdf from there?
Once you have the invoice ID, you can retrieve the invoice object and download its PDF
That it's with the receipt_url?
https://docs.stripe.com/api/invoices/object#invoice_object-invoice_pdf I believe this is what you need
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That is, thank you so much