Hello @mrclayton and thank you for your quick answer.
So I followed the guide and created the webhook. One order went through correctly but others did not.
Also I got this message : The payment pi_xxxx for PLN 129.00 requires you to take action in order to complete the payment.
In addition, I checked the logs and I see this message too:
2021-09-07T17:41:24+00:00 INFO Array
(
[Webhook Delivery] => Array
(
[Delivery ID] => 65ce19059f3b26f9846c47f273bfe19f
[Date] => Sep 7, 2021 @ 17:41
[URL] => https://woo-hook-pro.dsers.com/hook/woo/order/updated/c46qtjsi5nq000afh5q0
[Duration] => 1.0003
[Request] => Array
(
[Method] => POST
[Headers] => Array
(
[User-Agent] => WooCommerce/5.6.0 Hookshot (WordPress/5.8)
[Content-Type] => application/json
[X-WC-Webhook-Source] => https://cleeble.pl/
[X-WC-Webhook-Topic] => order.updated
[X-WC-Webhook-Resource] => order
[X-WC-Webhook-Event] => updated
[X-WC-Webhook-Signature] => /nZHke+2kWnZ+QhCfyyPKYvOHbEe0m+IyMONIe5fZf8=
[X-WC-Webhook-ID] => 2
[X-WC-Webhook-Delivery-ID] => 65ce19059f3b26f9846c47f273bfe19f
)
)
[Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
[Response] => Array
(
[Code] => 200
[Message] => OK
[Headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[server] => Tengine
[content-type] => application/octet-stream
[content-length] => 0
[date] => Tue, 07 Sep 2021 17:41:24 GMT
[via] => cache8.l2cn1850[211,0], cache7.gb2[967,0]
[timing-allow-origin] => *
[eagleid] => a3b5399b16310364836562618e
)
)
[Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
)
)
)
Is this normal? or is there a problem with the webhook?
Thank you so much