Basically, I want to include an external library in Laravel. In this case, I want to include the Stripe library (Not with Cashier because I really just need one time payments and Cashier doesnt really support this).
How would I go about doing this? I've installed the library using composer.
Coming back to what we've done. I've created a service called 'StripeServiceProvider' using the php artisan command. I've then done this as the code
http://pastebin.com/wejF9s5h
When I run very similar code to what you mentioned in my controller, I get that the API key isnt set. What would cause this? (aside from it not being set)