richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
221 stars 75 forks source link

[BUG]No provider for StripeService! #218

Closed atefnajar closed 1 year ago

atefnajar commented 1 year ago

R3InjectorError(PaymentModule)[StripeService -> StripeService -> StripeService -> StripeService]: NullInjectorError: No provider for StripeService! NullInjectorError: R3InjectorError(PaymentModule)[StripeService -> StripeService -> StripeService -> StripeService]: NullInjectorError: No provider for StripeService! version 15.7.1 , 15.6.1,1 ???

richnologies commented 1 year ago

Hi @atefnajar,

I'm gonna need way more details in order to help you. What version of Angular, NgxStripe and @stripe/stripe-js are you using and a code snippet showing how are you using the library. Are you adding the NgxStripeModule¿, are you using Standalone¿ etc... Any details you can provide that will help me replicate the problem.

Thanks in advance,

R