bendrucker/angularjs-stripe

Change The README To USE Stripe not stripe service

Closed this issue · 3 comments

The Readme uses stripe with lowercase s and the service name. This is incorrect

Nope, lowercase is the wrapped service, uppercase is the original

But In Your Code You Have This 'use strict'

var stripeAsPromised = require('stripe-as-promised')

module.exports = factory

factory.$inject = ['Stripe', '$q']
function factory (Stripe, $q) {
return stripeAsPromised(Stripe, $q)
}

As you can see there from your source it is uppercase which follows angular convention

Yes, that's taking the original Stripe and injecting it to the wrapper service (lowercase)