#Matty-webhook-invoice
1 messages · Page 1 of 1 (latest)
no problem.
Thanks for your patience!
If the fields you're looking for are null on the invoice, then the customer object may not have those details, but you can confirm by using the customer ID to retrieve the customer object.
https://stripe.com/docs/api/customers/retrieve
Bummer.... I was hoping to not have to make the separate calls. We have 1000's of records that are displayed, so we'd have to make a call for each webhook call to store that data.
I appreciate the help.
Completely understand. If I were you I'd do some testing and see if the customer objects are missing the information you're looking for consistently, and if so I'd look upstream to see if there is something being missed when the customer is created.
Sorry for the delay. Had to run to a meeting. Looks like the customer only had the description set and not the email set. This may be the issue.