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.
This commit is contained in:
chemicalkosek
2022-07-15 13:36:17 +02:00
committed by GitHub
parent e539bdc620
commit 32b066d923
+2 -2
View File
@@ -89,10 +89,10 @@ The endpoint for Stripes 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 youre done, click “Add endpoint”.
After the Webhook is created, youll 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, youll 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