Hi @hebhansen,
If you go to stripe.com > developers > webhooks you can click on the plugin webhook and see log entries for the failed requests. Please share one of those failed requests. The webhook typically fails for the following reasons:
- The webhook secret in the plugin is incorrect.
- You have a 3rd party plugin that’s blocking access to the WordPress REST API which this plugin uses for the webhook url.
Kind Regards
Is this what you need?
{
"code": "webhook-error",
"message": "Invalid signature received. Verify that your webhook secret is correct.",
"data": {
"status": 401
}
}
So webhook should also work in test mode?
I think I have it working now in test mode. Do I need one listener for Test mode and another for live?
Do I need to save twice in the plugin. For Live and then for test, or is webhook the same always?
Hi @hebhansen
Do I need one listener for Test mode and another for live?
The plugin uses the same webhook url for both test and live mode objects, so you only need one webhook.
The plugin automatically creates the webhook for you during the connect process. Or, you can use the “Create Webhook” button located on the API Settings page as well. This saves you from manually having to enter the webhook url and events.
Kind Regards