#donuts-invoices
1 messages · Page 1 of 1 (latest)
Hi! The invoices use the customer's preferred_locals field to localize the text. https://stripe.com/docs/invoicing/customize#customer-language
Should I push into preferred_locals array the name of country as string ?
I'm not sure if it's the country code or the language itself. Give me a few minutes to try this.
Yes you can add the country code. I just tried with preferred_locales: [ "FR"] and the invoice was in French.
oh okay perfect thanks
can you help me with another thing ? I would like to send invoice automaticaly after successful payment. In administration of stripe I turned on send email option here https://dashboard.stripe.com/settings/emails but it doesnt do anything
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Should I make webhook for that or <
we don't send emails in test mode
in livemode we would send a receipt when the invoice is paid , you can read about it on https://stripe.com/docs/receipts and that page also talks about how to manually send/view the receipt