Socket
Book a DemoInstallSign in
Socket

paysimple

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paysimple

Community Node.js API wrapper for the PaySimple API

latest
npmnpm
Version
0.1.4
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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 jscs
npm run jshint

Usage

var PaySimple = require('paysimple');
var pay = new PaySimple({ accessid: 'kasjdflkasjd', key: '023i49sdfkl32' });

pay.setDevmode(); // 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 app.js:

DEBUG=pay* node app.js

Testing

cp test/credentials.example.json test/credentials.json

Then add your credentials to ./test/credentials.json. This file is excluded from source control.

Running the tests

npm run unit
npm run functional
npm test # everything

Debugging the tests

Run with DEBUG=pay* environment variable.

DEBUG=pay* npm test

Keywords

paysimple

FAQs

Package last updated on 14 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts