From 6d5235ed6d646f485fc3f206bcb10cad1cebc01b Mon Sep 17 00:00:00 2001 From: Greg Jopa <534034+gregjopa@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:35:16 -0500 Subject: [PATCH] fix(docs): update instructions for replacing client-id in html --- advanced-integration/beta/README.md | 12 +++++++----- standard-integration/README.md | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/advanced-integration/beta/README.md b/advanced-integration/beta/README.md index 923a5234..2f6e5140 100644 --- a/advanced-integration/beta/README.md +++ b/advanced-integration/beta/README.md @@ -4,8 +4,10 @@ This folder contains example code for an Advanced PayPal integration using both ## Instructions -1. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`. -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) +1. [Create an application](https://developer.paypal.com/dashboard/applications/sandbox/create) +2. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`. +3. Replace `test` in [client/checkout.html](client/checkout.html) with your app's client-id +4. Run `npm install` +5. Run `npm start` +6. Open http://localhost:8888 +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) diff --git a/standard-integration/README.md b/standard-integration/README.md index c0bf83f3..408396b8 100644 --- a/standard-integration/README.md +++ b/standard-integration/README.md @@ -6,7 +6,7 @@ This folder contains example code for a Standard PayPal integration using both t 1. [Create an application](https://developer.paypal.com/dashboard/applications/sandbox/create) 2. Rename `.env.example` to `.env` and update `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET` -3. Replace `test` in `client/index.html` with your app's client-id +3. Replace `test` in [client/checkout.html](client/checkout.html) with your app's client-id 4. Run `npm install` 5. Run `npm start` 6. Open http://localhost:8888