Skip to content

Commit 734e5db

Browse files
authored
chore(docs): add testing instructions (#6)
* Add step about using a managed sandbox account from developer.paypal.com * add testing step to readme
1 parent d3c5863 commit 734e5db

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

advanced-integration/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
2. Run `npm install`
77
3. Run `npm start`
88
4. Open http://localhost:8888
9+
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)

standard-integration/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 a standard PayPal integration using both t
44

55
## Instructions
66

7-
1. Replace `test` in `public/index.html` with your app's client-id
8-
2. Add `CLIENT_ID` and `APP_SECRET` to the `.env` file
9-
3. Run `npm install`
10-
4. Run `npm start`
11-
5. Open http://localhost:8888
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
9+
2. Replace `test` in `public/index.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. Click "PayPal" and log in with one of your [Sandbox test accounts](https://developer.paypal.com/dashboard/accounts).

0 commit comments

Comments
 (0)