/paypal-rest-node-sample

PayPal REST API Node.js Sample App

Primary LanguageJavaScript

PayPal REST API Sample for Node.js

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.

Configuration

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.

Running it

First of all install all needed packages using npm install. Then run the app by using node app.js.

Dependencies

express - used as web-framework
jade - for HTML templating
paypal-rest-sdk - to handle PayPal payments

Development dependencies

grunt - Runs tasks like JSHint validation
grunt-contrib-jshint - JSHint validation for JS files

Contributing

Happy to have a look at pull requests

Author

Tim Messerschmidt github.com/seraphimserapis