• Resolved knottulf

    (@knottulf)


    Hi,
    I wonder, if I check ‘Debug Log’, does the plugin log to the default WordPress debug log file, or is there another log file?
    The documentation says to copy the Webhook secret key into the field in the plugin settings. However, there I find that the webhook has been configured automatically. I guess this would mean that also the webhook secret has been generated and stored in WordPress.
    So, I tried the VISA test number, and with the local gateway Klarna, and got no errors, but there is nothing in the wp log file, apart from other messages from WordPress.
    How do I know that it works?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @knottulf,

    Newer versions of the plugin generate the webhook and secret automatically for you so that’s why you are seeing that it’s already entered in the settings.

    Our plugin uses the WooCommerce logging API so all logs are located via the WooCommerce > Status > Logs screen.

    You can also just click the Logs link provided in our plugin’s Admin menu option.

    The logs use the naming convention wc-stripe-{$date}. Whenever a webhook is received it is logged so you will see it there.

    You will know it works because the status of the order is processing or completed and you can verify the payment’s status within the Stripe dashboard as well.

    Kind Regards,

    Thread Starter knottulf

    (@knottulf)

    OK, thank you Mr. Clayton!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Webhook secret & Log file?’ is closed to new replies.