From 32b066d9233558a76ff9b79e223049d520878581 Mon Sep 17 00:00:00 2001 From: chemicalkosek Date: Fri, 15 Jul 2022 13:36:17 +0200 Subject: [PATCH] Update to correct placement of webhook secret. (#1856) Currently the docs say to copy the webhook secret from top right corner which starts with `we_`. This is not the webhook secret. This is webhook id. --- docs/content/add-plugins/stripe.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/add-plugins/stripe.md b/docs/content/add-plugins/stripe.md index 76388d2b48..ed383a02b7 100644 --- a/docs/content/add-plugins/stripe.md +++ b/docs/content/add-plugins/stripe.md @@ -89,10 +89,10 @@ The endpoint for Stripe’s webhook on your Medusa server is `{SERVER_URL}/strip Then, you can add a description. You must select at least one event to listen to. Once you’re done, click “Add endpoint”. -After the Webhook is created, you’ll see a key at the top right that starts with `we_...`. Copy that key and in your Medusa server add the Webhook secret environment variable: +After the Webhook is created, you’ll see "Signing secret" in the Webhook details. Click on "Reveal" to reveal the secret key. Copy that key and in your Medusa server add the Webhook secret environment variable: ```jsx -STRIPE_WEBHOOK_SECRET=we_... +STRIPE_WEBHOOK_SECRET=whsec_... ``` ## Admin Setup