#abrams_tank-email

1 messages · Page 1 of 1 (latest)

analog horizon
#

Yes because we don't send email in test mode

#

1 min

dapper spruce
#

Ok, great. I just want to make sure that when my webhook is called in Production, I can expect [data][object][charges][data][receipt_number] to have the Receipt Number

analog horizon
#

In test mode

#

you can send the receipt from Dashboard

#

then in API you will see the receipt_number. Use that to test your program

#

Just tried

dapper spruce
# analog horizon you can send the receipt from Dashboard

Yes. I am worried that [data][object][charges][data][receipt_number] will be null when my webhook is called in Production. Like perhaps [data][object][charges][data][receipt_number] is null when my webhook is called in Production, but then in the Webhooks dashboard, Stripe will show [data][object][charges][data][receipt_number] as being filled because it sent the e-mail to the customer.

#

As long as [data][object][charges][data][receipt_number] has the Receipt Number when my webhook is called in Production, then that is fine

analog horizon
#

I agree that it's tricky to reproduce in Test mode, since Test mode you manually send it, but in Production mode all happens automatically.

dapper spruce
#

Thanks, that's all I have to ask