Skip to content

chriswuby/fastlane_sample

Repository files navigation

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 67
  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 the "data-client-metadata-id" especially when not in sandbox mode script.js line 72
  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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published