From f2641e38dcc330c25d7823105a0fb1f9d2a28d68 Mon Sep 17 00:00:00 2001 From: Greg Jopa <534034+gregjopa@users.noreply.github.com> Date: Thu, 26 Oct 2023 09:42:14 -0500 Subject: [PATCH] Update instructions for v2 card fields --- advanced-integration/v2/README.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/advanced-integration/v2/README.md b/advanced-integration/v2/README.md index 2cf823b0..40cd1bd6 100644 --- a/advanced-integration/v2/README.md +++ b/advanced-integration/v2/README.md @@ -8,16 +8,7 @@ Version 2 is the current advanced Checkout integration, and includes hosted card 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) - -## Examples - -The documentation for advanced Checkout integration using JavaScript SDK includes additional sample code in the following sections: - -- **3. Adding PayPal buttons and card fields** includes [a full-stack Node.js example](v2/examples/full-stack/). -- **4. Call Orders API for PayPal buttons and card fields** includes [a server-side example](v2/examples/call-orders-api-server-side/) -- **5. Capture order** includes [a server-side example](v2/examples/capture-order-server-side/) +3. Run `npm install` +4. Run `npm start` +5. Open http://localhost:8888 +6. 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)