- Node.js
- EJS
- Express.js
- PayPal SDK
- GIT / GitHub
- Download zip file or
git clone
repo - Open terminal or equivalent and navigate into folder
- Create Developer Account with Paypal
- Create projected in the Developer Dashboard
- Update app.js
``paypal.configure({
'mode': 'sandbox',
'client_id': 'YOUR_INFO',
'client_secret': 'YOUR_INFO'
});
``
with YOUR credentials
- Run commands:
-
npm install
Installs Node dependencies from package.json -npm start
Starts server -npm test
Starts server using Nodemon - Server is listening on port: 5000