Skip to content

Commit

Permalink
chore(docs): add testing instructions (#6)
Browse files Browse the repository at this point in the history
* Add step about using a managed sandbox account from developer.paypal.com

* add testing step to readme
  • Loading branch information
jshawl authored Nov 17, 2022
1 parent d3c5863 commit 734e5db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions advanced-integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
2. Run `npm install`
3. Run `npm start`
4. Open http://localhost:8888
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)
12 changes: 7 additions & 5 deletions standard-integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ This folder contains example code for a standard PayPal integration using both t

## Instructions

1. Replace `test` in `public/index.html` with your app's client-id
2. Add `CLIENT_ID` and `APP_SECRET` to the `.env` file
3. Run `npm install`
4. Run `npm start`
5. Open http://localhost:8888
1. [Create an application](https://developer.paypal.com/dashboard/applications/sandbox/create)
3. Add your app's `CLIENT_ID` and `APP_SECRET` to the `.env` file
2. Replace `test` in `public/index.html` with your app's client-id
4. Run `npm install`
5. Run `npm start`
6. Open http://localhost:8888
7. Click "PayPal" and log in with one of your [Sandbox test accounts](https://developer.paypal.com/dashboard/accounts).

0 comments on commit 734e5db

Please sign in to comment.