Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.7 KB

README.md

File metadata and controls

44 lines (35 loc) · 2.7 KB
Twitter: PayPal Developer
Twitter   -   PayPal   -   Docs   -   Code Samples   -   Blog

Fastlane by PayPal using the PayPal Integration - Video Project Files

This is the example code for the Fastlane PayPal Video Project.

Getting Started

To get started with this project, follow these steps:

  1. Obtain the PayPal CLIENT ID and SECRET for your existing PayPal integration.
  2. Update the following files with your credentials:
    • Rename the .env-template file to .env and populate with creds .env-template
    • Use the same Client ID in your .env file in the script file script.js line 68
  3. Make sure to provide a comma separated list of domain names in the .env file, as well
  4. Update your server-side endpoint URL script.js line 40
  5. Update what buyers will see in their credit/debit card statement for your business name here. Reference docs for formatting here.
  6. Note: To use Netlify with this project, you can leave the files as they are. However, if you're not using Netlify, you may need to restructure the directory to ensure that api.js is seen as the server endpoint in your Node.js project.

Once you have configured your credentials, you can install the required packages by running npm i. To start the app, run node index.

PayPal Developer Community

Join the PayPal Developer community to enhance your skills, contribute to PayPal products, and connect with other developers.