Stripe webhook secret not vaildating
-
I have set up the free version of Event Tickets and configured Stripe, which is working for ticket sales but the webhook secret will not save. I paste it in the box and it tries to validate, then never validates.
The page I need help with: [log in to see the link]
-
Glad you reached out.
We have seen some Stripe connection issues when the Stripe account does not have platform controls enabled. This would be enabled on the Stripe side, and may need assistance from Stripe support.
Are there any error messages you can share? Either from the Tickets Commerce connection screen or Stripe log?
Thanks
RobHello Rob,
Thanks for getting back. Yes it looks like that is the issue as this is the error message I get:{ "error": { "message": "You cannot perform this request as you do not have Platform Controls for Standard on the account.", "type": "invalid_request_error" } }
as well as this message:
{ "code": "rest_forbidden", "message": "Sorry, you are not allowed to do that.", "data": { "status": 401 } }
I can see the connect tab in my Stripe account but I don’t know where to go from there.
Thanks for the follow up with the error messages. It confirms the account needs the Platform Controls enabled.
I believe Stripe support can assist with this.
Here are a couple of articles on the Platform Controls feature from Stripe:
Standard Connect with Platform Controls
Platform controls for Standard accounts
I hope that helps.
Thanks
RobHello Rob,
I worked with Stripe support and enabled platform controls but the webhook secret is still not validating.This is the last message they sent me…
Thank you for chatting with me earlier. I wanted to quickly follow up with you in case our chat ended prematurely and if there were any outstanding questions. After checking with my team in this regard, it was found that you did a good job by enabling the platform control settings. I was confirmed that your account has platform controls enabled already. Even though on our end there is nothing that is doing stop webhooks being sent. Also, it was found that this issue would be related to the third party you're using here. This, due to them having a different setup for users. That being said, we'd like to suggest you to reach out to your third party on this topic for guidance, on how to use their integration. I know that this may not be the answers you were expecting to hear, but although we always take full ownership on cases, there are certain actions we cannot do since we lack of access to the integration other companies make. Even though, we're glad to have found for you where to go accordingly.
Thanks for the Stripe details. I’ll run your findings with the team for review.
For now, please try to disconnecting and reconnecting the Stripe account. Take a backup before you do in case there are issues with the reconnect, so you can restore.
Thanks
RobThanks,
I did as you suggested but its still not validating.Hi @johannamicklegmailcom, sorry to hear about this. Let’s see what we can do here. Appreciate you reaching out to Stripe as well.
Could you make sure that Tickets Commerce is not in Test Mode? One thing to note is that webhooks validation will not work if it is on Test Mode. https://theeventscalendar.com/knowledgebase/k/tickets-commerce/
I’m also curious if you’re already using Pretty Permalinks, which we recommend under WordPress Settings → Permalinks. Might be the case of not having a callback, not having to read the correct URL. Please do clear any caching after updating. https://theeventscalendar.com/knowledgebase/k/permalinks-best-practices/
Let me know how it goes on your end.
Best,
AbzIt is not in test mode. The tickets are being purchased and that part is working ok. I have permalinks set to ‘post name’
Hi @johannamicklegmailcom, apologies for the delay here. I was out for a couple of days. I’m back now.
I’m curious about this one. Would be good if you could send us the System Information via email [email protected]. Please insert the dotorg URL here and also mention me in the ticket. This would definitely help us replicate the issue. https://theeventscalendar.com/knowledgebase/k/sharing-your-system-information
Looking forward to helping you further with this one.
Best,
AbzHi –?I’m experiencing a very similar issue.
TEC team ran a few tests on my environment with no success. Running twentytwenty theme and disabled all non-TEC plugins.
The team instructed me to force the signing secret with this wp-config.php code. That enabled credit card fields on checkout, but payment doesn’t process.
define( 'TEC_TC_STRIPE_SIGNING_SECRET', 'paste the signing secret starting with whsec_ here' );
Only seeing the invalid_request_error below, not the rest_forbidden issue.
{ "error": { "message": "You cannot perform this request as you do not have Platform Controls for Standard on the account.", "type": "invalid_request_error" } }
Been at this for 2 weeks, not sure if it’s worth the effort anymore.
- This reply was modified 2 years, 3 months ago by Jamie S.
Hi @spacedragon ,
Please make sure to copy and paste your signing secret correctly right before the line that says: “That’s all, stop editing! Happy publishing” in the wp-config.php file and clear the cache.
Best regards,
MartaYes, that was already done without success.
I have sent an email with the system information
Hi @spacedragon, I’m also curious about your setup and if it is similar to other users on this thread. I would like to investigate more.
It would be good if you could send us the System Information via email at [email protected]. Please insert the dotorg URL here and also mention me in the ticket. This would help us replicate the issue. https://theeventscalendar.com/knowledgebase/k/sharing-your-system-information
Let me know how you would like to proceed.
Best,
Abz
- The topic ‘Stripe webhook secret not vaildating’ is closed to new replies.