#jairo094215_checkout-invoice-emails
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ 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.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1290701349172019334
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Yes, you can generate invoices for one off payments. You provide the details in the invoice_creation parameter when you create the Checkout Session.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-invoice_creation
Ok, thanks
In this point of your documentation says that the generated invoice will be sended by email to the customer: https://docs.stripe.com/receipts?payment-ui=checkout#paid-invoices
This behavior can be disabled? We want only generate the invoice but we don't want to send any emails to the customer
You can disable sending emails to the customer but that will prevent Checkout from generating Invoices
So, does this mean that invoice generation is not compatible with disabling email sending?
Correct
If I enable invoice generation, do I have to assume the sending of emails? Can it be any other way?
If you specify invoice_creation={'enabled': True} but you don't have Customer emails turned on then it won't do anything. The only way it will generate an Invoice is if you allow Customer emails.