Change The README To USE Stripe not stripe service
Closed this issue · 3 comments
saniyusuf commented
The Readme uses stripe with lowercase s and the service name. This is incorrect
bendrucker commented
Nope, lowercase is the wrapped service, uppercase is the original
saniyusuf commented
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
bendrucker commented
Yes, that's taking the original Stripe and injecting it to the wrapper service (lowercase)