Includes a package.json to install all dependencies. You'll need to open webpay.js and edit the script config to include your own test Merchant ID, an Order ID belonging that Merchant, and an OAuth token with PROCESS_CREDIT_CARDS permission.
To run the script, execute the following commands from a terminal window:
npm install
node webpay.js