You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,6 @@ Webhooks require a public URL that Stripe will ping to notify the monitor of new
31
31
32
32
If you have a [__Basic__](https://ngrok.com/pricing) ngrok subscription, you can specify a custom subdomain that will stay reserved for your account.
33
33
34
-
#### Optional: Verify Webhooks are signed
35
-
[Stripe can optionally sign Webhook events to your endpoints](https://stripe.com/docs/webhooks/signatures). If you'd like the Webhook Monitor to verify these for you, simply modify the `signingSecret` value in `config.js` with the endpoint-specific signing secret key found at the bottom of the Webhook details page.
36
-
37
-
Unverified Webhooks will return a `400` response to Stripe, and log an error to your console.
38
-
39
34
### Start receiving changes
40
35
41
36
To start the monitor:
@@ -45,17 +40,9 @@ npm install
45
40
npm start
46
41
```
47
42
48
-
Take note of the public URL provided by ngrok: it should be listed when the monitor starts.
49
-
50
-
**Don't want to use ngrok?** As long as Stripe can reach the webhooks endpoint via a public URL, you'll receive updates.
51
-
52
-
### Subscribe to webhook notifications
53
-
54
-
In your Stripe Dashboard, go to the _API_ section, then click on the _Webhooks_ tab.
55
-
56
-
You should add a receiving endpoint by clicking _Add Endpoint_. Fill in the public URL provided by ngrok, or any other public URL that can reach the webhook monitor.
43
+
A [Stripe webhook endpoint](https://stripe.com/docs/webhooks/setup) will be automatically provisioned and pointed at your ngrok tunnel, subscribed to all Stripe events.
**Don't want to use ngrok?** As long as Stripe can reach the webhooks endpoint via a public URL, you'll receive updates. Set the `webhookSigningSecret` configuration to ensure your events are signed correctly.
0 commit comments