fabrix-app / generics-stripe

Generic: Stripe.com for Spool-generics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generics-stripe

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

Generic Payment Processor for Stripe.com supplied by Spool-generics.

Looking for Spool-Generics?

Install

$ npm install --save @fabrix/generics-stripe

Configure

// config/generics.ts
export const generics = {
  // make the key stripe, alternatively make the key payment_processor to be the default payment_processor  
  stripe: {
    adapter: require('@fabrix/generic-stripe').StripeGeneric,
    config: {
        public: '<your public key>',
        secret: '<your private key>'
    },
    api: require('@fabrix/generic-stripe/api'),
    icon: '' // url to an icon you want to use for this generic
  }
}

About

Generic: Stripe.com for Spool-generics

License:MIT License


Languages

Language:TypeScript 68.5%Language:JavaScript 31.5%