• Resolved alaid

    (@alaid)


    Hi,

    After upgrading to version 2.0.0 in the backend with Query Monitor it shows this error https://snipboard.io/sXTNf7.jpg

    400 Bad Request
    Transporte API HTTP: curl
    Tiempo de resolución de DNS: 0,0002
    Tiempo de conexión: 0,0339
    Tiempo de inicio de transferencia (TTFB): 0,2562
    Tipo de contenido de la respuesta: application/json
    Dirección IP: 173.0.88.66
    WooCommerce\P\A\E\WebhookEndpoint->request()
    wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/RequestTrait.php:48
    WooCommerce\P\A\E\WebhookEndpoint->create()
    wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/WebhookEndpoint.php:112
    WooCommerce\P\W\WebhookRegistrar->register()
    wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/WebhookRegistrar.php:97
    WooCommerce\P\W\WebhookModule::WooCommerce\P\W\{closure}()
    wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/WebhookModule.php:156
    do_action(‘init’)
    wp-includes/plugin.php:476

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @alaid,

    Could you please try enabling Logging in the Connection tab and then resubscribing and simulating the webhooks as described here to see if the message persists for you?
    Please let us know if the simulation completes or if it causes any errors.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter alaid

    (@alaid)

    Hi,

    I did the requested tests and the error continued, I tried updating WordPress to version 6.1.1 and this fixed it.

    Thanks.

    Thread Starter alaid

    (@alaid)

    There is something that catches my attention, the Simulate button of the Webhooks does not appear. This is normal? Is there a way to make it appear and be able to test the webhooks?

    Thanks.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @alaid,

    Thanks for the feedback. Usually, the Simulate button should appear automatically.
    If this button doesn’t show up, there may still be some kind of underlying problem.
    Some more things you could try:

    • Disconnecting and reconnecting your account with the onboarding wizard. This creates a new REST App and automatically configures the webhooks.
    • You could also give it a try with this pre-release version of the next update.
    • This version doesn’t change anything regarding the webhooks, but a plugin update event triggers a webhook verification that could potentially result in the button showing for you.
      I hope this helps!

      Kind regards,
      Niklas

    Thread Starter alaid

    (@alaid)

    Hi @niklasinpsyde

    The plugin is working correctly, but it doesn’t show the simulate button. I tried the 2 recommendations and it still doesn’t show the simulate button.

    The important thing is that it works well and does not show any errors, also the 400 Bad Request has been resolved.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘400 Bad Request’ is closed to new replies.