1.1.1 • Published 6 years ago

@fabrix/generics-stripe v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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