Send a recall mail to order with missed payment.
How to install
Download
Composer
Add it in your main thelia composer.json file
composer require thelia/payment-recall-module:~2.0
Manually
- Download the zip archive and extract it
- Copy the module into
<path-to-thelia>/local/modules/
directory and be sure that the name of the module isPaymentRecall
Activation
- Go to the modules's list of your Thelia administration panel (with the default URL)
- Find the PaymentRecall module
- Activate it.
Configuration
- Time before recall : this configuration define how long (in minutes) the order must have to be recalled.
- You can filter orders recalled by their payment module (in general this module is for card payment).
Usage
You have 2 way to trigger the action who gonna send the mails, firstly a button appears in order edit at modules tab in backoffice this button send a recall mail for the current order.
The second way is a command line module:PaymentRecall:CronSendMail
when this command is called a mail is sent to each order on status "Not paid" and for who the payment module is on enable payment module
and if the time since order has been placed is greater than defined time. We recommend to set up a cron on the command line to automatise this task.