fatal error processing webhook for customer.created
Hi Matt,
I've just upgraded to your version 5.0 from the drastik 4.7.? one.
I'm getting fatal errors in my ConfigAndLog log when the IPN processor handles customer.created
webhooks, specifically there's an exception Could not find an entry for 'customer_id'.
The next webhook to fire is customer.source.created
which did not seem to cause any errors, and the one after that was a charge.succeeded
which seems to have (a) created a contact and (b) recorded the contribution OK.
Do you know why this might be happening?
Nb. I'm not using Civi's contribution pages for this, but rather I'm calling Contribution.transact
directly, if that might make a difference.
Also, I'm not sure if this is a separate issue or an issue for core, but if an exception is thrown the HTTP status code should be returned as 500 or something - Stripe's dashboard does not report any errors but if you look at the response it received it's clearly a fatal error message.
Thanks, Rich