Configuration

This page is for version 1.0. Read the current version.

For arlanix/notification 1.0.1

Configuration

All settings are in Stores > Configuration > Arlanix > Notifications. They are set in the default scope, because a delivery does not belong to a store view. The only exception is the Order flow group, which you can set for each website and store view.

The Delivery and Message log groups

The following table lists the settings:

Path Admin field Default Notes
arlanix_notification/delivery/retry_minutes Retry after (minutes) 1, 5, 15, 60, 240 How long to wait after each failed attempt, separated by commas. A delivery gets one attempt more than the number of entries. When the field is empty, a delivery is tried once. Entries that are not a whole number of minutes greater than 0 are ignored.
arlanix_notification/delivery/stale_minutes Warn when a notification waits longer than (minutes) 15 The admin shows a warning when deliveries wait on the queue longer than this, which means that nothing is sending them. The warning needs Magento_AdminNotification to be enabled.
arlanix_notification/log/keep_days Keep messages for (days) 30 0 keeps every message.
arlanix_notification/smtp/mailer Email > Send through magento magento sends through Magento's own mail. own sends through the SMTP server set in the same group.
arlanix_notification/smtp/* Email The sender, and the separate SMTP server. See Email.
arlanix_notification/telegram/bot_token, …/api_url Telegram The store's bot. See Telegram, Slack and Discord.
arlanix_notification/monitoring/* Monitoring Cron stopped after, the health check key and the error level. See Monitoring.
arlanix_notification/order_flow/* Order flow Whether the orders of each store view are watched, and the thresholds for Orders stopped. Each store view can have its own values. See Monitoring.

Every setting has an admin field, so you can also set it with config:set, for example in a deploy script:

bin/magento config:set arlanix_notification/log/keep_days 90

With --lock-env, the value is written to app/etc/env.php, and the field is locked in the admin.