File tree 8 files changed +15
-7
lines changed
8 files changed +15
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Create an application to obtain credentials at
2
+ # https://developer.paypal.com/dashboard/applications/sandbox
3
+
4
+ CLIENT_ID = " YOUR_CLIENT_ID_GOES_HERE"
5
+ APP_SECRET = " YOUR_SECRET_GOES_HERE"
Original file line number Diff line number Diff line change
1
+ .env
Original file line number Diff line number Diff line change 2
2
3
3
## Instructions
4
4
5
- 1 . Add ` CLIENT_ID ` and ` APP_SECRET ` to the ` .env ` file
5
+ 1 . Rename ` .env.example ` to ` .env ` and update ` CLIENT_ID ` and ` APP_SECRET ` .
6
6
2 . Run ` npm install `
7
7
3 . Run ` npm start `
8
8
4 . Open http://localhost:8888
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Create an application to obtain credentials at
2
+ # https://developer.paypal.com/dashboard/applications/sandbox
3
+
4
+ CLIENT_ID = " YOUR_CLIENT_ID_GOES_HERE"
5
+ APP_SECRET = " YOUR_SECRET_GOES_HERE"
Original file line number Diff line number Diff line change
1
+ .env
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ This folder contains example code for a standard PayPal integration using both t
5
5
## Instructions
6
6
7
7
1 . [ Create an application] ( https://developer.paypal.com/dashboard/applications/sandbox/create )
8
- 3 . Add your app's ` CLIENT_ID ` and ` APP_SECRET ` to the ` .env ` file
8
+ 3 . Rename ` .env.example ` to ` .env ` and update ` CLIENT_ID ` and ` APP_SECRET `
9
9
2 . Replace ` test ` in ` public/index.html ` with your app's client-id
10
10
4 . Run ` npm install `
11
11
5 . Run ` npm start `
12
12
6 . Open http://localhost:8888
13
- 7 . Click "PayPal" and log in with one of your [ Sandbox test accounts] ( https://developer.paypal.com/dashboard/accounts ) .
13
+ 7 . Click "PayPal" and log in with one of your [ Sandbox test accounts] ( https://developer.paypal.com/dashboard/accounts )
You can’t perform that action at this time.
0 commit comments