#cyrildave_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212198861976633435
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Can you share more details about what you've created so far? I'm a little confused by your question
I have created this api https://api.stripe.com/v1/invoices?customer=[customer]
and I get 2 invoices for subscription purchases. But I dont get the other 2 payment which is not a subscription.
what do you mean by you don't get the other 2 payments which is not a subscription? can you share the corresponding IDs for those payments here for me to take a look?
pi_3Ooan0E1EGWouBAt1hFCbAvD
pi_3OoL7CE1EGWouBAt15UHoMc1
where are you seeing that you're not getting the payments?
For example, i'm looking at https://dashboard.stripe.com/test/payments/pi_3Ooan0E1EGWouBAt1hFCbAvD in the Dashboard and it says payment is successful
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
sorry, I need the invoice for this 2 payments, using api
If you want to get a post payment invoice for those payments that were created via Checkout Sessions, then you should use this parameter : https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-invoice_creation-enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok I will try to add this parameter, thank you for fast reply