#mateja-mari_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ 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/1253299844945023049
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
hi! any details like code you use, API calls you make, IDs of the payments that don't have invoices?
and by Invoice do you mean specifically Invoice objects in_xxx in the Stripe API , or just email receipts ?
We are using Go to make an integration. By Invoice I mean specifically Invoice objects. I can't find any in the dashboard, didn't try the API tho
Here's the Payment ID: pi_3PTQS4HbZPqMvKSU1TBQrJbl
well you didn't pass the invoice_creation param when creating the CheckoutSession : https://dashboard.stripe.com/logs/req_D9SwzvOOcqfgcW , so not having an Invoice seems expected
Aha, ok. Didn't know I needed it since they were created in test mode...
well do you have an example of where one was created in test mode?
Here's one: pi_3PQ9C3HbZPqMvKSU0JXqlape
But now I see that one is a subscription and it has a invoice. But when I check one that isn't a subscription it doesn't have an invoice
yeah that is totally expected then.
one off payments do not have Invoices(unless you use the https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-invoice_creation feature that creates one)
Ok, thanks a lot! That probably solved my problem then, I'll add invoice_creation and test it out ๐
Alright, it works! Thanks a lot! ๐
No problem, glad I could help!
I have another question and 4242.io tells me I should make it in an existing thread. When I'm making a new Stripe Customer using the Go client I specify invoice_settings: { custom_fields: [...]}. However, new invoices have those custom fields not in the Bill To (customer) section but below Date of Issue and Date due. How can make sure custom invoice fields appear in the "customer" section?