Comments (4)
@arthur5005 sorry for the delay...I see what you mean and will consider something like this if more people ask for it.
As a work-around for now, extending the service in your app and export as a different name should do it I think.
// app/services/my-stripe.js
export { default } from 'ember-cli-stripe/services/stripe';
// Using
myStripe: Ember.inject.service()
from ember-cli-stripe.
I think you mean to say that I should import and use ember-stripe-service under a different name.
I'm not exactly sure your workaround works tbh, the problem I was having was that ember-cli-stripe was accidentally importing ember-stripe-service as the service to use internally.
With the exact same name in the project:
stripe: Ember.inject.service()
is ambiguous, remember: components & services are not namespaced or free of collisions from external actors inside your addon.
from ember-cli-stripe.
@arthur5005 thanks, makes sense!
I don't really think we considered other similar addons when we named this service
from ember-cli-stripe.
@arthur5005 were you able to get the 2 addons working together?
from ember-cli-stripe.
Related Issues (20)
- Uninstall - iframe persists HOT 3
- Depreciation - Ember 1.13 HOT 1
- How can i override stripe-checkout.hbs? HOT 4
- Support for Refunds? HOT 4
- Load publishable key from server HOT 1
- ReferenceError: StripeCheckout is not defined HOT 7
- Add some kind of open source license HOT 1
- DEPRECATION: Addon files were detected in `node_modules/ember-cli-stripe/addon`, but no JavaScript preprocessors were found HOT 3
- Is this an active addon ? HOT 2
- Error with Ember 2.13.1 HOT 3
- showCheckout=true throws "StripeCheckout is not defined"
- Deprecation warning with Ember 2.18 HOT 6
- Is 3D Secure supported? HOT 1
- Cannot read property 'getAttribute' of undefined HOT 3
- inline script error on chrome console when clicking the stripe button.
- Dependency Dashboard
- Doesn't include the stripe checkout js dependency out of the box? HOT 3
- Add support for ember-cli pre v0.1.2 HOT 1
- Retrieve Publishable Key Outside the ENV file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-stripe.