Skip to content

Commit 87b47f5

Browse files
authored
Update README.md (vercel#157)
1 parent 294fd40 commit 87b47f5

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

README.md

+8-12
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,21 @@ You can use third-party login providers like GitHub or Google. Refer to the [doc
4949

5050
## Configure Stripe
5151

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.
5353

5454
### Configure webhook
5555

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.
5757

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.
6763

6864
### Set environment variables
6965

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.
7167

7268
- `NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY`
7369
- `STRIPE_SECRET_KEY`

0 commit comments

Comments
 (0)