Skip to content

fabrix-app/generics-stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  }
}