# Stripe Thelia payment module for [Stripe](http://stripe.com). You need a subscription to Stripe payment solution to use this module. ## Installation Either you install StripePayment manually or via composer, the presence of Stripe API files is checked when you try to activate the module. If the API files are absent, you can't use Stripe. Be aware that API files are set into the core/vendor folder. ### Manually * Copy the module into ```/local/modules/``` directory and be sure that the name of the module is StripePayment. * Install the Stripe PHP library : * add "stripe/stripe-php" to your composer.json file with command : `composer require stripe/stripe-php:"6.*"` * or download the library from and install it in your `core/vendor` directory * Activate it in your Thelia administration panel ### Composer Add it in your main thelia composer.json file: ``` composer require thelia/stripe-payment-module ~2.0.0 ``` ### Configuration Enter your Stripe keys (*secret* and *public*) available on your [Stripe dashboard](https://dashboard.stripe.com/). Put your Stripe account in live mode. Then activate the Stripe in the module configuration panel. Activate the webhooks in stripe dashboard with the url specified in Thelia Back-office Stripe configuration, and add events listed in Thelia Back-office Stripe configuration. ### Logs Stripe error logs are stored in a specific file located in the log folder.