Skip to content

Commit 743a1d0

Browse files
committed
done with stripe
1 parent c2299ac commit 743a1d0

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

src/content/setting-up-stripe.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,25 @@ chapter: Make a booking mutation
88
postnumber: 14
99
---
1010

11-
In this section we will get a stripe account setup.
12-
13-
Head over to Stripe.com and sign up for an account:
11+
In this section we will get a stripe account setup. Head over to [Stripe](https://stripe.com) and sign up for an account, once you're all setup, you will land on the dashboard. We need to get the API Keys, so click on the "Developers" link on the left hand side:
1412

1513
![stripe](/uploads/stripe_step1.png)
1614

17-
Then Click on the Developers link:
15+
Then click on API Keys:
1816

1917
![stripe](/uploads/stripe_step2.png)
2018

21-
Then click on API Keys
19+
Then copy the Secret key:
2220

2321
![stripe](/uploads/stripe_step3.png)
2422

25-
Then copy the Secret key
26-
27-
\[Secret key shot]
28-
29-
Next up create a .env file in the root of your project and the secret key :
30-
31-
```
32-
STRIPE_SECRET_KEY=sk_test_stuff
23+
Next up create a `.env` file in the root of your project and the secret key :
3324

25+
```javascript
26+
STRIPE_SECRET_KEY = sk_test_stuff
3427
```
3528

36-
Then in your serverless.yml file add the key in the environment part in the provider block:
29+
Then in your `serverless.yml` file add the key in the environment part in the provider block:
3730

3831
```yaml
3932
provider:

0 commit comments

Comments
 (0)