Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 980 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 980 Bytes

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.