richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

Uncaught ReferenceError: Cannot access 'StripeCardNumberComponent' before initialization #200

Closed shahidnsu closed 1 year ago

shahidnsu commented 1 year ago

I am following the ngx-stripe doc. But I am getting this error.

Screenshot 2023-02-05 at 5 59 09 PM

richnologies commented 1 year ago

Hi @shahidnsu, I'm gonna need a bit of context:

your ngx-stripe version your angular version

a snippet of the code would be great to be able to replicate

richnologies commented 1 year ago

Hi @shahidnsu

I introduce an error yesterday making changes to the ngxStripeCardGroup directive. If you're using version v.15.4.0 maybe that is the reason for this error. If that is the case, please update to v15.4.1 and try again.

If not, please, send me the details from my previous comment

Sorry for inconvenience.

shahidnsu commented 1 year ago

Hey you can check my code from this repo github repo

shahidnsu commented 1 year ago

Hi @shahidnsu, I'm gonna need a bit of context:

your ngx-stripe version your angular version

a snippet of the code would be great to be able to replicate

Hey you can check my code from this repo github repo

richnologies commented 1 year ago

Hi @shahidnsu, just update the latest version. That should fix the problem

npm i ngx-stripe@15.4.3
shahidnsu commented 1 year ago

issue solved thank you