shipping_address is null on "Order payment" webhook

shipping_address is null on "Order payment" webhook

brfignoni
Visitor
1 0 0

Description:

We are subscribed to the Order payment webhook, but we've noticed that in some cases, the shipping_address field is coming through as null.

We need access to the following data to communicate with an external service (DAC):

  • Full name
  • Shipping address
  • Phone number

In test orders from Shopify, the shipping_address field is always complete, but in real orders, it sometimes arrives empty. We would like to know:

  1. Why is shipping_address missing in some cases?
  2. Is there another field or endpoint where we can reliably get this information when the "Order payment" webhook does not provide it? We need to know the information mentioned above about the customer that have bought. 

We have attached screenshots for reference.

Thank you.

1. A screenshot from a webhook test that i have sent from the admin:
  

Captura de pantalla 2025-02-12 a las 10.29.49 p. m..png

Captura de pantalla 2025-02-12 a las 7.39.37 p. m..png

(shipping_address info is available)

2. A screenshot from a real purchase 

Captura de pantalla 2025-02-12 a las 7.38.06 p. m..png
(shipping_address info is null leading to an error in my application)

Replies 0 (0)