Skip to content
Advertisement

Tag: bolt-cms

Error: Class ‘Stripe’ not found

I’m trying to use the Stripe php api in a Bolt extension but it’s having trouble finding the class. I added the Stripe library to composer.json: And ran composer install. myextension/vendor/composer/autoload_classmap.php now shows the classes loaded: And now I’m trying to use it in the extension like this: But I get the error: Error: Class ‘Stripe’ not found File: extensions/local/andyjessop/myextension/Extension.php

Advertisement