We currently have a Shopify webhook setup with Ometria, our marketing platform. The webhook sends events for customer creation, customer update and customer deletion.
There's a promotion running on our site where any new subscriber will receive a 10% discount code. The code is administered by Ometria, however it relies on the data sent by Shopify on customer creation.
We've had reports of some customers not receiving their discount. Ometria have looked into this and have claimed that they are not receiving this data. Is there a way of being able to check the payloads for these orders or the JSON files to see what information has been sent to Ometria?
The users have been created in Ometria, however they do not have the Shopify tag we have added.
Thank you for pointing us in the right direction.
After having looked into the issue, it looks like the webhook method works for our other clients. Therefore, the problem is likely to be linked to how the webhook is set up in this specific case.
I will keep you posted in case we need further assistance.
Beatriz - Ometria Team
After some discussions with Ometria, we have found that for some customer creation entries we are sending two payloads instead of one.
The first payload will come through with the data Ometria requires, however a second payload can come through seconds later which overwrites the first payload. The contents of the second payload is different to the first and does not contain the data Ometria require to fire off a Welcome email.
Does anyone know why two payloads would send to Ometria and how can we prevent this from happening?