Title: Webhooks not validating
Last modified: February 10, 2023

---

# Webhooks not validating

 *  Resolved [poemaxx](https://wordpress.org/support/users/poemaxx/)
 * (@poemaxx)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/webhooks-not-validating/)
 * Hi,
 * I’m having problems with webhooks not validating. I filled in the Signing Secret
   box, and pressed Save Changes. Now both boxes are greyed out and there’s a message
   saying Webhooks not validated yet.
 * I’m on WordPress 6.1.1 running the Vantage theme, Events Calendar 6.0.9 and Event
   Tickets 5.5.7.
 * Test mode is not enabled, and I’ve reverted to PHP7.4. The Stripe account was
   created specifically to use with Event Tickets, so there is no other platform
   to interfere with it. I’m using pretty permalinks and flushed them.
 * I also went into troubleshooting mode and just enabled Event Tickets, but still
   no luck.
 * Can you offer any advice? Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwebhooks-not-validating%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Erica](https://wordpress.org/support/users/eeide/)
 * (@eeide)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16460335)
 * Hi [@poemaxx](https://wordpress.org/support/users/poemaxx/),
 * I’m sorry to hear you’re encountering an issue validating the webhook!
 * Please add the below snippet to your `wp-config.php` to manually define the signing
   secret:
 *     ```wp-block-code
       define( 'TEC_TC_STRIPE_SIGNING_SECRET', 'paste the signing secret starting with whsec_ here' );
       ```
   
 * The validation won’t show under **Tickets > Settings > Payments > Stripe**, but
   this will connect your site with Stripe after the previous steps in our Knowledgebase
   article, [Setting Up Webhooks for Stripe and Tickets Commerce](https://theeventscalendar.com/knowledgebase/k/setting-up-webhooks-for-stripe-and-tickets-commerce/)
   have been taken.
 * Let us know how it goes!
 * Thank you,
   Erica
 *  Thread Starter [poemaxx](https://wordpress.org/support/users/poemaxx/)
 * (@poemaxx)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16461315)
 * It worked! Thank you very much Erica.
 *  [emgb_520](https://wordpress.org/support/users/emgb_520/)
 * (@emgb_520)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16518489)
 * I am having the same issue as described above. Is there any plan to update the
   plugins to be compatible with PHP 8.0? Reverting back to 7.4 presents a security
   issue. Will the same above code work for me on my site? Thanks!
 *  [adrienthiery](https://wordpress.org/support/users/adrienthiery/)
 * (@adrienthiery)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16688895)
 * Hi there,
 * I’m having the same issue on a site hosted on wordpress.com, which means I cannot
   edit the wp-config.php file.
 * Any other known workaround?
 * I see in the JS console the following error: 
   On admin page load:
 * caught SyntaxError: Unexpected token 'export' (at ky.min.js?ver=5.0.15:8:207)
   
   tec-ky.js?ver=5.0.15:1 Uncaught SyntaxError: Cannot use import statement outside
   a module (at tec-ky.js?ver=5.0.15:1:1)
 * On click of the “save” button:
 * caught (in promise) TypeError: Cannot read properties of undefined (reading '
   post') at obj.initiateValidation (webhooks.min.js?ver=5.5.10:11:1307) at obj.
   onSigningFieldChange (webhooks.min.js?ver=5.5.10:11:2149) at HTMLInputElement.
   dispatch (jquery.min.js:2:43184) at y.handle (jquery.min.js:2:41168) o
 * I tried following the steps here ([https://wordpress.org/support/topic/changing-signing-secret-for-stripe-fails-silently-fix/](https://wordpress.org/support/topic/changing-signing-secret-for-stripe-fails-silently-fix/))
   but no luck.
 * Also, I’m using Divi as a theme, which is one of the most popular themes out 
   there, so I’m out of ideas.
 *  [adrienthiery](https://wordpress.org/support/users/adrienthiery/)
 * (@adrienthiery)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16727598)
 * Considering there has been no follow-up on this, I had to create a normally unnecessary
   dummy plugin helping those not able to access wp-config.php (like anyone using
   wordpress.com) to implement the workaround.
 * Not being an expert wordpress developer, I’m not sure the way I do it is “safe”,
   but if it can help someone out there, here you go:
 * [https://github.com/adrienthiery/events-tickets-stripe-secret-validation-fixer/tree/main](https://github.com/adrienthiery/events-tickets-stripe-secret-validation-fixer/tree/main)

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

The topic ‘Webhooks not validating’ is closed to new replies.

 * ![](https://ps.w.org/event-tickets/assets/icon.svg?rev=2259340)
 * [Event Tickets and Registration](https://wordpress.org/plugins/event-tickets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-tickets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-tickets/)
 * [Active Topics](https://wordpress.org/support/plugin/event-tickets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-tickets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-tickets/reviews/)

## Tags

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

 * 5 replies
 * 4 participants
 * Last reply from: [adrienthiery](https://wordpress.org/support/users/adrienthiery/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/webhooks-not-validating/#post-16727598)
 * Status: resolved