#Abranches-php-error
1 messages · Page 1 of 1 (latest)
It's a new integration
I installed Stripe via composer, and my webhook.php file is in the root directory
What instructions did you follow for installing the Stripe PHP client library?
The stripe integration builder
You've got require 'vendor/autoload.php'; at the top of your file, right?
Yes
When you look in your vendor directory what do you see?
sometime it doesn't show this "\stripe-php" after the stripe folder
i've search to see if there's another stripe folder inside the first one, since it's fetching "stripe\stripe", but there isn't
It doesn't reconize "\Stripe\Stripe", nor "\Stripe\Event"
What editor is this in? And what version of the PHP library is this?
It could be an issue with VSCode (but I'm not sure) - what happens when you actually try and run the code?
I haven't tried running it yet, i just installed the cli to test the webhooks
I'll try running it and i'll come back here to say if it works or not
Yeah let me know how that goes!
Ok, Thanks!