#geo_invoice-emails-testmode

1 messages ยท Page 1 of 1 (latest)

hot groveBOT
#

๐Ÿ‘‹ 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/1481068839105204296

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

undone star
#

This Invoice is in Test mode. As our docs mention here

To test your customer email settings, use email addresses that belong to your verified email domain or an active team member.

However, this only covers the following situations:

Stripe sends failed payment notifications, upcoming invoice reminders, trial ending reminders, and card expiring reminders in a sandbox.

blazing rune
#

Hmm so the flow I'm implementing(which seem like it won't work) is update customer with a finance related email, create an invoice and send the email to that customer.

#

is there any way to test this? Or is the only way to test this is in a production environment?

blazing rune
undone star
#

The send-invoice email is not one of the emails mentioned in our doc about this flow.

#

I don't think that will achieve what you are looking for either.

#

What is your overall goal?

blazing rune
#

If I create an invoice after updating the contact with the correct email that the invoice will be delivered to the correct email address. Same goal if I have to resend the email

undone star
#

So in this scenario, you want to test whether or not you can update the Customer with a valid email address, then create an Invoice with collection_method: "send_invoice" and the Invoice gets sent to the updated email address?

#

Essentially that whatever the most recently updated value is for the Customer email will be respected?

blazing rune
#

no, I'm able to succesfully update a customer with a valid email address. If at a later point I create an invoice and pass this contact via its stripe id to associated it with the invoice, I want to test that the invoice will be sent to the email that's associated with the customer

undone star
#

Sorry but can we please use Stripe terminology. I don't know what you mean you say "this contact".

The ID is a Customer ID if it starts with cus_. And when you mention assciating the contact with the Invoice, do you mean you are assinging the customer parameter ? This is a requirement to create an Invoice.

blazing rune
#

apologies

#

I think I can just verify this by checking the pdf for the invoice and confirm that the latest email address associated to the Customer is there

undone star
#

Yes you can take that approach to validate this works.

Also I can confirm that the email address to send the Invoice to is pulled from the Customer object at the time the Invoice is generated. So whatever the current value of that property is at that time is the email that will receive the Inovice.

blazing rune
#

Awesome! Thank you so much for your help and I'll make sure to use proper Stripe terminology moving forward!

undone star
#

Happy to shine what ๐Ÿ’ก I can ๐Ÿ™‚

And re: terminology, it just helps us be certain we are giving you the right advice. We don't want to tell you to do something wrong because we were confused.

hot groveBOT
#

geo_invoice-emails-testmode