laravel / cashier-stripe

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
https://laravel.com/docs/billing
MIT License
2.38k stars 679 forks source link

Class 'Stripe\PaymentIntent' not found #785

Closed ArunTyagiDev closed 5 years ago

ArunTyagiDev commented 5 years ago

I want to know one thing. I put cashier folder inside vendor folder. I put cashier.php file in config folder(C:\xampp\htdocs\projectName\config). same as i have put migration routes and resources in their folder. I put src inside vendor/cashier/src. is my folder structure is right. please help me because i am getting this issue.

Class 'Stripe\PaymentIntent' not found image

dwightwatson commented 5 years ago

You need to install Cashier through Composer, it will install the required Stripe dependency for you. Copying the directory into /vendor isn't going to do the job.

ArunTyagiDev commented 5 years ago

Thanks Watson

On Tue, Sep 17, 2019 at 10:08 AM Dwight Watson notifications@github.com wrote:

You need to install Cashier through Composer, it will install the required Stripe dependency for you. Copying the directory into /vendor isn't going to do the job.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/laravel/cashier/issues/785?email_source=notifications&email_token=AE42LXOM5YVIUY5QGYHD6P3QKBNN5A5CNFSM4IXA7NC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63IKTI#issuecomment-532055373, or mute the thread https://github.com/notifications/unsubscribe-auth/AE42LXJ7KBJNZKOGGT2QSOLQKBNN5ANCNFSM4IXA7NCQ .

--

Arun Tyagi Software Developer Phone: +919808875933