Thelia payment module for Stripe.
You need a subscription to Stripe payment solution to use this module.
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.
- Copy the module into
<thelia_root>/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 https://github.com/stripe/stripe-php/releases and install it in your
core/vendor
directory
- add "stripe/stripe-php" to your composer.json file with command :
- Activate it in your Thelia administration panel
Add it in your main thelia composer.json file:
composer require thelia/stripe-payment-module ~2.0.0
Enter your Stripe keys (secret and public) available on your Stripe dashboard.
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.