Napoleonic Panda Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

seneca-pay

0.0.5 • Public • Published

seneca-pay - Node.js module

Payments plugin for Seneca

Includes support for paypal express payments.

NOTE: documentation is in progress. Take a look at the payment gateway example.

Usage

 seneca.use('seneca-pay',{
    paypal: {
      useSandbox: true/false,
      username: 'paypal-api-account-username',
      password: 'paypal-api-account-password',
      signature: 'paypal-api-account-signature'
    },
    redirect: {
      hostUrl: 'http://www.mywebsite.com',
      success: '/completed',
      fail: '/cancelled'
    }
 })

Keywords

none

install

npm i seneca-pay

Downloadsweekly downloads

6

version

0.0.5

license

none

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar