thelia / stripe-payment-module
Installs: 600
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 8
Open Issues: 6
Type:thelia-module
Requires
- stripe/stripe-php: ^v7.100
- thelia/installer: ~1.1
README
Thelia payment module for Stripe.
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
<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
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.
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.