Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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
1831 273 421

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!