Created
September 23, 2013 14:30
-
-
Save nateabele/6671311 to your computer and use it in GitHub Desktop.
How to integrate Stripe with Lithium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** config/bootstrap/libraries.php **/ | |
// ... | |
Libraries::add('stripe', array( | |
'path' => LITHIUM_APP_PATH . '/libraries/stripe/lib', | |
'prefix' => null | |
)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So what i get confused about is how do I then use it in my controllers. Do I have to bootstrap it and tell it to load all the classes manually? And where does namespacing come in to it? Basically, I would love to be able to do something like: