STRIPE Webhook Failing
-
Hi there,
We use the WP Classifieds plugin on our website and have integrated it with STRIPE payments. For some reason, the STRIPE webhoook URL which we have added to the plugin is failing in triggering its events in the STRIPE system. I have double-checked the API connection and the webhook is definitely correct.
We contacted STRIPE and they cannot see anything from their end. Can I please request you to look into this? This is quite urgent and we are currently not able to see the required payment data for clients due to the webhook failing between the plugin and STRIPE. I have also added below what the STRIPE support person said to me:
Their team has mentioned that the issue is related to the website code or something going on with the classifieds plugin we are using to run the adverts that STRIPE is being used for. I did manage to find this article on the plugin website which talks about correctly setting up the webhook in the plugin which integrates it with STRIPE: https://wpadverts.com/doc/stripe-integration-paid-addon/.
Their support team also provided the info below:
When running into issues with checking/verifying the signature of a webhook event sent to your endpoint, we recommend that you check the following. Almost always, these steps will give you a good idea of what might be happening to cause errors with checking webhook signatures.
? You should be using one of our official client libraries to set up your webhook endpoint.
? You should first use the exact code (with no modifications) that we provide on https://stripe.com/docs/webhooks/signatures. These starting points have been confirmed to work if your server is set up correctly.
? If the sample code from above throws an error when checking webhook signatures, you should confirm that your server is not modifying the webhook request’s body or headers in any way before it reaches your endpoint. This would include making sure that you’re not parsing the body in any way before checking it (such as converting it to JSON), as well as making sure that there isn’t a proxy or other network device that is modifying the request’s headers.”
Can I please get some urgent help with this?
Thanks!
Udai Singh
- The topic ‘STRIPE Webhook Failing’ is closed to new replies.