Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Class #13

Open
emresaracoglu opened this issue Dec 21, 2017 · 3 comments
Open

Uncaught Error: Class #13

emresaracoglu opened this issue Dec 21, 2017 · 3 comments

Comments

@emresaracoglu
Copy link

Hello,

I can getting this error:

Fatal error: Uncaught Error: Class 'CreditCard' not found in ..

I added with Composer but how I can Import your class in php file?

@prezine
Copy link

prezine commented Dec 24, 2017

What have you done to on your end?
How did you try implementing script?

@emresaracoglu
Copy link
Author

emresaracoglu commented Dec 24, 2017

$card = new \Inacho\CreditCard;

$card = CreditCard::validCreditCard('5500005555555559', 'mastercard');
print_r($card);

@ltrtuan
Copy link

ltrtuan commented Jan 7, 2018

You can try $card = \Inacho\CreditCard::validCreditCard('5500005555555559');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants