Title: Webhook test mode &#8211; Error
Last modified: January 11, 2024

---

# Webhook test mode – Error

 *  [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/)
 * Hey guys
 * I have integration test ok. I have created a listener at stripe and I have created
   that integration. I am in test mode for testing. Also live is configured.
   I get
   webhook errors. Not getting through. We will keep sending until the 17th….. I
   assume it would work in live, since all seems correct after checking. So if not
   working in test mode, what do I do to test then?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/#post-17336260)
 * Hi [@hebhansen](https://wordpress.org/support/users/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:
    1. The webhook secret in the plugin is incorrect.
    2. 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
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/#post-17336489)
 * Is this what you need?
 *     ```wp-block-code
       {
         "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?
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/#post-17336592)
 * 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?
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/#post-17337929)
 * Hi [@hebhansen](https://wordpress.org/support/users/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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Webhook test mode – Error’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

## Tags

 * [webhook](https://wordpress.org/support/topic-tag/webhook/)

 * 4 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/webhook-test-mode-error/#post-17337929)
 * Status: not resolved