BUG: Order Webhook is malformed when a product has an apostrophe in the title

cyberdynist
Shopify Partner
5 0 1

I have a Order/Paid webhook setup and when there is an apostrophe in the title of of one of the products that are ordered, the JSON in the post data comes back incomplete.  This causes me not to be able to read the order.

 

This needs to be fixed so that order webhooks will function regardless of the product titles.

Replies 2 (2)

SBD_
Shopify Staff
1829 269 406

Hey @cyberdynist,

 

An apostrophe shouldn't affect the webhook payload, perhaps your application is having a difficult time parsing them? Try testing with a service like https://webhook.site/

 

If you're still running into issues please provide the store URL so I can dig deeper.

 

 

Scott | Developer Advocate @ Shopify 

cyberdynist
Shopify Partner
5 0 1

Not sure what changed but it is now working.  A week ago every JSON response ended at the apostrophe in the product name, but complete responses are coming back now so it appears to be fixed.  Thanks!