• 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 Payment Plugins

    (@mrclayton)

    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:

    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

    (@hebhansen)

    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?

    Thread Starter hebhansen

    (@hebhansen)

    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 Payment Plugins

    (@mrclayton)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Webhook test mode – Error’ is closed to new replies.