#Fugazcz
1 messages · Page 1 of 1 (latest)
What API do you refer to?
I m using my own api, which change Language for the client. I want to send general emails to the user, so I can check if the language works. Can I do it?
Just to clarify, are you using the update customer API https://stripe.com/docs/api/customers/update#update_customer-preferred_locales to set the customer's preferred_locales ?
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. Sure you can create an invoice for that customer, and the invoice will be rendered based on the preferred_locales, see https://stripe.com/docs/invoicing/customer#:~:text=When you create a customer,PDFs%2C and credit note PDFs.
So there is no any test function, which can trigger sending emails?
Emails are not automatically sent in test mode.
ok, thanks and can I manually trigger email, which is informing about ending trial?
You can send an invoice email manually from Dashboard.
But still I don't quite understand why you want to test Stripe API.
I dont wont to test api, I just want to test all emails, which can customer gets
I probably misspoke, I'm sorry
So I only want to test language in emails like invoices (already tested, thank you), informing about ending trial, etc
OK. emails aren't sent in test mode. So you might want to use live mode to receive emails from Stripe