pre-release - pre-alpha - untested
PaySimple community library for Node.js
This is an unofficial library.
PaySimple documentation can be found on their website: http://developer.paysimple.com/documentation/
Read the PaySimple docs to learn which body parameters required for each method.
Pull requests welcome. Please write tests and ensure the PR conforms to the JSCS and JSHint standards.
npm run jscsnpm run jshint
var PaySimple = ;var pay = accessid: 'kasjdflkasjd' key: '023i49sdfkl32' ;pay; // to use the sandbox endpoint
Debugging the library and HTTP traffic
Running with the environment variable
DEBUG=pay* will print the HTTP
requests and responses.
For example, if your application is
DEBUG=pay* node app.js
cp test/credentials.example.json test/credentials.json
Then add your credentials to
This file is excluded from source control.
Running the tests
npm run unitnpm run functionalnpm test # everything
Debugging the tests
DEBUG=pay* environment variable.
DEBUG=pay* npm test