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
Only can use credit card registered on paypal developer sandbox dashboard below,
visa
4032032419770786
11/2019
American Express
371449635398431
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.