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
Copy file name to clipboardExpand all lines: README.md
+8-12
Original file line number
Diff line number
Diff line change
@@ -49,25 +49,21 @@ You can use third-party login providers like GitHub or Google. Refer to the [doc
49
49
50
50
## Configure Stripe
51
51
52
-
To start developing your SaaS application, we'll need to configure Stripe to handle test payments. For the following steps, make sure you have the "viewing test data" toggle switched to "on."
52
+
To start developing your SaaS application, we'll need to configure Stripe to handle test payments. For the following steps, make sure you have the ["Test Mode" toggle](https://stripe.com/docs/testing) switched on.
53
53
54
54
### Configure webhook
55
55
56
-
We need to configure the webhook pictured in the architecture diagram above. This webhook is the piece that connects Stripe to your Vercel serverless functions.
56
+
We need to configure the webhook pictured in the architecture diagram above. This webhook is the piece that connects Stripe to your Vercel Serverless Functions.
57
57
58
-
First, click the "Add endpoint" button on the [test Endpoints page](https://dashboard.stripe.com/test/webhooks).
59
-
60
-
Then, set the endpoint URL to `https://your-deployment-url.vercel.app/api/webhooks`.
61
-
62
-
After, click the `Select events` under the `Select events to listen to` heading.
63
-
64
-
Next, click the `receive all events` link in the `Events to send` section.
65
-
66
-
Finally, copy the `Signing secret` as we'll need that in the next step.
58
+
1. Click the "Add Endpoint" button on the [test Endpoints page](https://dashboard.stripe.com/test/webhooks).
59
+
1. Set the endpoint URL to `https://your-deployment-url.vercel.app/api/webhooks`.
60
+
1. Click the `Select events` under the `Select events to listen to` heading.
61
+
1. Click the `receive all events` link in the `Events to send` section.
62
+
1. Copy the `Signing secret` as we'll need that in the next step.
67
63
68
64
### Set environment variables
69
65
70
-
To securely interact with Stripe, we need to add a few environment variables in the Vercel dashboard.
66
+
To securely interact with Stripe, we need to add a few [Environment Variables](https://vercel.com/docs/concepts/projects/environment-variables) in the Vercel dashboard.
0 commit comments