Skip to content

paypal-examples/googlepay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayPal Googlepay Example Code

Examples from the official PayPal Developer Docs.

Introduction and Overview

This repository contains the following directory:

  • Advanced integration
    • Build and customize Googlepay Integration with the custom Googlepay Component

The PayPal JavaScript SDK

These examples use the PayPal JavaScript SDK to display PayPal supported payment methods and provide a seamless checkout experience for your buyers.

The SDK has several configuration options available. The examples in this repository provide the most minimal example possible to complete a successful transaction.

Know before you code

Setup a PayPal Account

To get started with standard checkout, 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.

Create an Application

Once you've setup a PayPal account, you'll need to obtain a Client ID and Secret. Create a sandbox application.

Have Node.js installed

These examples will ask you to run commands like npm install and npm start.

You'll need a version of node >= 14 which can be downloaded from the Node.js website.

PayPal Codespaces

PayPal codespaces require a client ID and client secret for your app.

Link to codespaces

Open in GitHub Codespaces

Learn more

You can read more about codespaces in the PayPal Developer Docs.

Feedback