Error Report from Stripe.ts and Relevant Questions
Posting enough to show error for privacy reasons:
And this is line 253 from Stripe.ts:
When I log the error right before (it is inside a catch block), it is the same as 'Cannot set headers after they are sent to the client.'
Couple other notes, I did some changes to webhook but I am not sending any extra responses, just capturing extra events to do some updates and record customer payments:
The work goes through successfully (payment is recorded in the db) and nothing is functionally affected by this error but figure this should still be considered.
And this is line 253 from Stripe.ts:
When I log the error right before (it is inside a catch block), it is the same as 'Cannot set headers after they are sent to the client.'
Couple other notes, I did some changes to webhook but I am not sending any extra responses, just capturing extra events to do some updates and record customer payments:
The work goes through successfully (payment is recorded in the db) and nothing is functionally affected by this error but figure this should still be considered.