{"repo":"paypal-examples/v6-web-sdk-sample-integration","free":true,"listed":false,"github":"https://github.com/paypal-examples/v6-web-sdk-sample-integration","clone":"git clone https://github.com/paypal-examples/v6-web-sdk-sample-integration.git","description":"Example JavaScript, TypeScript, and React integrations for the PayPal SDK","language":"JavaScript","stars":89,"topics":["javascript","paypal","typescript","starter-project","applepay","googlepay","paypal-button","venmo","payments","web-sdk"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"PayPal v6 Web SDK Sample Integration This repository contains sample integrations for PayPal's v6 Web SDK. Learn how to: - make one-time payments with different payment methods like PayPal and Venmo - save payment methods for future transactions - add Pay Later messaging Before You Code 1. Setup a PayPal Account To get started, you'll need a developer, personal, or business account. Sign Up or Log In You'll then need to visit the Developer Dashboard to obtain credentials and to make sandbox accounts. 2. Create an Application Once you've setup a PayPal account, create a sandbox application to obtain a Client ID and Secret . How to Run Locally 1. Clone the repository by running the following command in your terminal: 2. Create a .env file based on the .env.sample file at the root of this repository: 3. Open the .env file in a text editor and add values for the PAYPAL SANDBOX CLIENT ID and PAYPAL SANDBOX CLIENT SECRET environment variables. 4. To run the server, choose a server implementation from the server folder at the root of this repository and follow the instructions in that folder's README. For example, for Node.js run: 5. After running the server, go to http://localhost:8080 to see the client examples.","default_branch":null,"files":null,"tree":[],"storefront":"/r/paypal-examples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paypal-examples/v6-web-sdk-sample-integration/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}