You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.jsexport{default}from'ember-cli-stripe/services/stripe';// Using
myStripe: Ember.inject.service()
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.
Due to the naming of the service bundled with this addon, there's a name collision with this addon:
https://github.com/code-corps/ember-stripe-service
It would be nice if we could use both the ember-stripe-service addon and the ember-cli-stripe together.
The text was updated successfully, but these errors were encountered: