PHPackages                             thelia/on-delivery-payment-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. thelia/on-delivery-payment-module

ActiveThelia-module[Payment Processing](/categories/payments)

thelia/on-delivery-payment-module
=================================

OnDeliveryPayment module for Thelia: payment collected by the carrier upon delivery.

1.0.0(2w ago)08↑275%1GPL-3.0-or-laterPHPCI passing

Since May 26Pushed 2w agoCompare

[ Source](https://github.com/thelia-modules/OnDeliveryPayment)[ Packagist](https://packagist.org/packages/thelia/on-delivery-payment-module)[ RSS](/packages/thelia-on-delivery-payment-module/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Paiement à la livraison (OnDeliveryPayment)
===========================================

[](#paiement-à-la-livraison-ondeliverypayment)

Module de paiement Thelia 2 permettant de proposer l'option **paiement à la livraison** : le règlement est encaissé par le livreur au moment de la remise du colis.

Compatibilité
-------------

[](#compatibilité)

- Thelia &gt;= 2.5.5
- PHP &gt;= 8.3

Installation
------------

[](#installation)

### Via Composer (recommandé)

[](#via-composer-recommandé)

```
composer require thelia/on-delivery-payment-module
```

### Manuel

[](#manuel)

Copier le dossier `OnDeliveryPayment` dans `local/modules/` de votre installation Thelia.

### Activation

[](#activation)

Depuis le back-office Thelia : **Modules → Paiement à la livraison → Activer**.

À l'activation, le module crée automatiquement un statut de commande dédié :

CodeLibelléCouleur`on_delivery_payment_paid`Paiement à la livraison`#10b981`Ce statut est marqué `protected` afin de ne pas être supprimé accidentellement.

Fonctionnement
--------------

[](#fonctionnement)

1. À la finalisation de la commande, le client sélectionne « Paiement à la livraison » comme moyen de paiement.
2. Le module valide la commande sans transaction monétique.
3. Le listener `OrderCreateListener` repositionne automatiquement la commande sur le statut `on_delivery_payment_paid` :
    - sur l'événement `ORDER_PAY` (parcours client classique),
    - sur l'événement `ORDER_CREATE_MANUAL` (création depuis le back-office).
4. La gestion de stock à la création de commande est désactivée (`manageStockOnCreation()` retourne `false`).

Configuration
-------------

[](#configuration)

Aucune configuration n'est requise. Le module est opérationnel dès son activation.

Vous pouvez restreindre la disponibilité du module via la gestion standard Thelia :

- pays autorisés
- zones de livraison
- montants minimum / maximum

Désinstallation
---------------

[](#désinstallation)

Depuis le back-office : **Modules → Paiement à la livraison → Désactiver**, puis supprimer le dossier `local/modules/OnDeliveryPayment` si souhaité.

> Le statut de commande `on_delivery_payment_paid` n'est pas supprimé automatiquement pour préserver l'historique des commandes existantes.

Licence
-------

[](#licence)

GPL-3.0-or-later

Auteur
------

[](#auteur)

- mdevaud —

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance98

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

14d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![anoziere](https://avatars.githubusercontent.com/u/118798868?v=4)](https://github.com/anoziere "anoziere (2 commits)")[![mdevaud](https://avatars.githubusercontent.com/u/15226493?v=4)](https://github.com/mdevaud "mdevaud (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-on-delivery-payment-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-on-delivery-payment-module/health.svg)](https://phpackages.com/packages/thelia-on-delivery-payment-module)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
