I have a problem concerning webhook for checkout. I have made a webhook for checkout in shopify settings. When I test the webhook in settings, information about the customer+product is sent correctly(email, price and delivery adress). But when I do a test order in my shop with test creditcard number I only get information of the product like the price , but the information about the customer like email adress or delivery adress is missing. data_1.json is the information I get when I trigger the webhook in shopify settings manually. When I make a test order in my shop I get data_2.json. Now my question is, why I get information about the customer when I trigger the webhook manually but no information when I trigger the webhook when I make a test order? Is it possible, that I have to activate my shop for production? Now my shop is in developer mode yet
many thanks for help :)
Solved! Go to the solution
A checkout can be created without a customer logged in - so the email could be blank. A checkout/update should fire when a customer is associated with an order.
Let me know if you get stuck.
If a customer is logged in when they get to checkout, their email will be included in the payload. The webhook you trigger from the admin includes an email address.
Is there a way to get this customer information with webhook?
Listen for a checkout/update, which should fire when they enter an email.
|3 hours ago|
|3 hours ago|