Skip to content

Commit e767f75

Browse files
authored
Merge pull request #1203 from ndeet/patch-3
WooCommerce: Improve troubleshooting on firewalls blocking webhooks
2 parents d73198d + b907312 commit e767f75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/WooCommerce.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Please make sure your PHP version supports the cURL extension (as written in the
222222
## The order states do not update although the invoice has been paid
223223
Please check first if the webhook is created under the BTCPay Server store settings. If there is no webhook created you can visit on your WooCommerce store BTCPay Settings tab under WooCommerce settings and hit the save button. This will create the webhook.
224224

225-
You may also check the details of your invoice if there were any errors on sending the webhook request. Some hosting providers, firewall setups or WordPress security plugins block POST requests to your WordPress site which lead to a http status of "403 forbidden".
225+
You may also check the details of your invoice if there were any errors on sending the webhook request. Some hosting providers, firewall setups or WordPress security plugins (like Wordfence) block POST requests to your WordPress site which lead to a http status of "403 Forbidden" or "503 Service Unavailable".
226226

227227
You can check and verify yourself if there is something blocking requests to your site in one of these two ways:
228228

@@ -234,7 +234,7 @@ curl -vX POST -H "Content-Type: application/json" \
234234
-d '{"data": "test"}' https://EXAMPLE.COM/?wc-api=btcpaygf_default
235235
```
236236

237-
On the response, if you see that line "HTTP/1.1 500" or "HTTP/2 500" and the message "Webhook request validation failed" that means that your site is not blocking the request with a "403 forbidden".
237+
On the response, if you see that line "HTTP/1.1 500" or "HTTP/2 500" and the message "Webhook request validation failed" that means that your site is not blocking the request with a "403 Forbidden".
238238

239239
```
240240
.... snip ....

0 commit comments

Comments
 (0)