I am in the process of using a webhook from stripe to generate a CSV with member info on the charge.succeeded event. The data that gets sent to Stripe and then to my webhook includes these lines:
These lines are invalid Json and I am therefore unable to json_decode them and use the data to create my CSV. After contacting Stripe they have made it clear that those lines above form part of the POST from the site so it isn't an issue with Stripe. I have another site using a webhook as well and they have also started failing as of a couple of months ago and I suspect it's the same issue. Not sure if something has changed recently as it was working before that.