#abrams_tank-email
1 messages · Page 1 of 1 (latest)
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
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
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
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.
Thanks, that's all I have to ask