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

    seneca-stripe-paypublic

    seneca-stripe-pay - Node.js module

    Stripe payments strategy for seneca-pay Seneca plugin

    Dependencies: seneca-pay

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

    Usage

     seneca.use('seneca-pay',{
        stripe: {
          secretKey: 'my-stripe-secret-key',
          publishableKey: 'stripe-publishable-key'
        },
        redirect: {
          hostUrl: 'http://www.mywebsite.com',
          success: '/completed',
          fail: '/cancelled'
        }
     })
    
     seneca.use('seneca-stripe-pay')
    

    Additional stripe config options:

    * showAddress: true/false ; true to require address input
    * companyName: optional text to be displayed as the company or website name on the checkout panel
    * brandImage: optional image (specified as a relative url) to be displayed on the checkout panel
    * panelTitle: optional text to be used as title for the checkout panel
    * submitText: optional text for the Pay button (defaults to Pay)
    

    Keywords

    none

    install

    npm i seneca-stripe-pay

    Downloadsweekly downloads

    10

    version

    0.0.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar