Skip to content

nodejs payment backend using paypal and braintree api

License

Notifications You must be signed in to change notification settings

paragasu/payment-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payment-backend

Nodejs payment backend using paypal and braintree api.
Currently only implement for Visa, Mastercard and American Express Card

#Installation

Require mongodb running at localhost:27017

On debian system,

#aptitude install mongodb
#/etc/init.d/mongodb start

Get source code

  $git clone https://github.com/paragasu/payment-backend.git
  $npm install
  $npm test
  $npm run server

Open browser and point to http://localhost:3000

#Testing

Paypal

Only can use credit card registered on paypal developer sandbox dashboard below,

  visa
  4032032419770786 
  11/2019

  American Express
  371449635398431

Braintree

Braintree's official credit card test list

  visa
  4111111111111111
  SGD 

Currency other than USD, EUR and AUD will do

##On saving credit card details Use braintree or paypal vault services.

About

nodejs payment backend using paypal and braintree api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published