#pluginyml_api

1 messages ¡ Page 1 of 1 (latest)

toxic questBOT
paper wrenBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

toxic questBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247522945002115102

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

honest temple
#

hi there!

ember geode
#

Where can I find the right webhook secret? In the dev environment, the CLI has given me the secret. In the live environment there is a secret in the webhook, but it does not work.

honest temple
#

are you using a real webhook endpoint? if so, the secret is in the dashboard, when looking at the webhook endpoin

ember geode
#

I have used this but it does not work.

honest temple
#

"does not work", what does that mean exactly?

#

do you get an error message? if so, which one?

ember geode
#

I use Laravel Cashier and the webhook requests are not accepted.

honest temple
#

you didn't answer my question.

ember geode
#

i get an error from my laravel application that it does not want to process the request because the secret is wrong.

honest temple
#

I need the exact error message you see.

ember geode
#

BadRequest: The secret key is not correct and processing has been stopped for safety reasons. Please check your secret and the tolerance.

#

The message is from my application, not from Stripe.

honest temple
#

thanks. can you check that the secret you are using looks like this: whsec_T8...APQl?

ember geode
#

Yes, I use it

honest temple
#

did you double check it's the same? starts with whsec and ends with APQl?

ember geode
#

Yes, I have checked.

honest temple
#

and this error is thrown when exactly? when you receive a webhook event in live mode?

ember geode
#

Yes, I'm just checking whether it might be caching and then loading the dev secret from the cache and not the live secret.

honest temple
#

possible, can you try to log the secret when you get that error message?

ember geode
#

It has now worked, but I don't know why. Thanks anyway!