Skip to content

prophen/checkout-apm

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PayPal Standard Checkout with Alternative Payment Methods

This repo contains example code for a standard PayPal integration using both the JS SDK and node.js to complete transactions with the PayPal REST API.

Instructions

  1. Create an application
  2. Rename .env.example to .env and update CLIENT_ID and APP_SECRET
  3. Replace test in public/index.html with your app's client-id
  4. Run npm install
  5. Run npm start
  6. Open http://localhost:8888
  7. Click "PayPal" and log in with one of your Sandbox test accounts

Demo

The GIF below shows a user interface for checkout with four payment options and a corresponding payment button for each option upon selection. The choices are pay with PayPal, debit/credit card, Pay Later, and (fictional) Monkey Cash for an example of a PayPal alternative payment method. User interface for checkout with four payment options and a corresponding payment button for each option upon selection. The choices are pay with PayPal, debit/credit card, Pay Later, and (fictional) Monkey Cash for example of a PayPal alternative method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages