Commit 78645602 authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

#3301084: Drupal 10 compatibility.

parent 1bdc8efb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: 'Commerce Recurring'
type: module
description: 'Provides recurring billing for Drupal Commerce'
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.2 || ^10
package: 'Commerce (contrib)'
configure: commerce_recurring.configuration
dependencies:
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  "homepage": "http://drupal.org/project/commerce_recurring",
  "license": "GPL-2.0-or-later",
  "require": {
    "drupal/core": "^8.8 || ^9",
    "drupal/core": "^9.2 || ^10",
    "drupal/advancedqueue": "^1.0",
    "drupal/commerce": "^2.25 || ^3",
    "drupal/state_machine": "^1.5"
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ abstract class RecurringJobTypeBase extends JobTypeBase implements ContainerFact
    }
    // Subscribers can choose to send a dunning email.
    $event = new PaymentDeclinedEvent($order, $retry_days, $num_retries, $max_retries, $exception);
    $this->eventDispatcher->dispatch(RecurringEvents::PAYMENT_DECLINED, $event);
    $this->eventDispatcher->dispatch($event, RecurringEvents::PAYMENT_DECLINED);
    $order->save();

    return $result;