Not actively maintained anymore.
This is a sample application for the PayPal REST API Node.js SDK
If you're looking for a real world sample - check out rest-api-sample-app-nodejs.
Get your API credentials over at developer.paypal.com by creating a new application. Use these credentials in the config.json file.
The app uses standard PayPal test credentials at this very moment.
First, install all needed packages using npm install
. Then run the app by using node app.js
.
express - used as web-framework
jade - for HTML templating
paypal-rest-sdk - to handle PayPal payments
grunt - Runs tasks like JSHint validation
grunt-contrib-jshint - JSHint validation for JS files