#Rob Coursera-followup

1 messages · Page 1 of 1 (latest)

stoic ingot
#

Hey there, please give me a couple minutes to review the previous threads.

wind ruin
#

Thank you!

stoic ingot
#

Thanks for your patience!

Test mode emails are really tricky. When you're in test mode, the only emails that our system will generate and send are ones that are addressed to the same email address associated with the owner of the account.

wind ruin
#

Okay cool, so that aligns with the first help that I got. I did try this, I checked who the owner of our stripe account was and I created a payment against a customer with their email address

#

but when I did the ACH refund, they did not receive any email

#

Is there any way you could investigate? Any idea why the email would not have sent?

stoic ingot
#

Hm, I know I've run into some emails not being sent in test mode during my testing as well. Do you have an ID for the charge, payment intent, customer, or some other object that I can look into and see if anything jumps out at me?

slow timber
#

Hello I'm around and I know for a fact this works

#

Do you have an example source id I can look at?

wind ruin
#

Yep let me grab some links!~

#

Let me know if you need more info!

slow timber
#

(looking)

#

@wind ruin that Source doesn't do any of the things I recommended yesterday. The email is not the email of the owner of the account

#

The email will only be sent if owner[email] on the Source matches the exact email address of the owner of the account

wind ruin
#

Ah okay, so the confusion here was because when creating a customer in live mode, the source automatically has owner email address of the customer. However, when creating a customer in test mode, the source has owner email of "amount_0@stripe.com"

#

In addition to this, the only way to push funds to an ACH source, is to change the owner email address to something like "amount_5000@stripe.com"

#

Hence, the owner email of the source in question has something like that

slow timber
#

it's not really that

#

you can put any email in the source in Test mode and it'll get $10 I think

#

the other trick is to get a different amount or push more money, which you don't need for this flow

wind ruin
#

Okay let me try updating the email to the real owner email address and see if it gets $10

#

Alright so far so good, let's see if the owner gets the email!

slow timber
#

awesome

#

but really you should test on your own account, way easier 🙂

wind ruin
#

Thank you. that worked! I have a follow-up question

#

Is it possible to prevent this email from being sent?

slow timber
#

no it's not possible

inner elbow
wind ruin
#

Ah! That is fantastic news

#

thank you!

#

I will try that