Skip to content

Commit 5a3ea22

Browse files
authored
fix(docs): update instructions for replacing client-id in html (#86)
1 parent f62771f commit 5a3ea22

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

advanced-integration/beta/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This folder contains example code for an Advanced PayPal integration using both
44

55
## Instructions
66

7-
1. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`.
8-
2. Run `npm install`
9-
3. Run `npm start`
10-
4. Open http://localhost:8888
11-
5. Enter the credit card number provided from one of your [sandbox accounts](https://developer.paypal.com/dashboard/accounts) or [generate a new credit card](https://developer.paypal.com/dashboard/creditCardGenerator)
7+
1. [Create an application](https://developer.paypal.com/dashboard/applications/sandbox/create)
8+
2. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`.
9+
3. Replace `test` in [client/checkout.html](client/checkout.html) with your app's client-id
10+
4. Run `npm install`
11+
5. Run `npm start`
12+
6. Open http://localhost:8888
13+
7. Enter the credit card number provided from one of your [sandbox accounts](https://developer.paypal.com/dashboard/accounts) or [generate a new credit card](https://developer.paypal.com/dashboard/creditCardGenerator)

standard-integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This folder contains example code for a Standard PayPal integration using both t
66

77
1. [Create an application](https://developer.paypal.com/dashboard/applications/sandbox/create)
88
2. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`
9-
3. Replace `test` in `client/index.html` with your app's client-id
9+
3. Replace `test` in [client/checkout.html](client/checkout.html) with your app's client-id
1010
4. Run `npm install`
1111
5. Run `npm start`
1212
6. Open http://localhost:8888

0 commit comments

Comments
 (0)