thelia/stripe-payment-module

3.0.2 2024-09-06 14:05 UTC

This package is auto-updated.

Last update: 2024-10-06 14:18:16 UTC


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
  • 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.