public static function DunningSubscriber::getSubscribedEvents in Commerce Recurring Framework 8
File
- src/
EventSubscriber/ DunningSubscriber.php, line 35
Class
- DunningSubscriber
- Sends an email when the payment is declined for a recurring order.
Namespace
Drupal\commerce_recurring\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [
RecurringEvents::PAYMENT_DECLINED => [
'sendPaymentDeclinedEmail',
-100,
],
];
return $events;
}