From 58972478854a4f8f137506591a186a4d528900b9 Mon Sep 17 00:00:00 2001 From: Alessandro Desantis Date: Wed, 20 Jan 2021 10:37:41 +0100 Subject: Resume processing installments for cancelled subscriptions Because it's very business-specific, this kind of change should be done at the application level in a decorator, rather than embedding it in the extension. --- lib/solidus_subscriptions/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/solidus_subscriptions/processor.rb') diff --git a/lib/solidus_subscriptions/processor.rb b/lib/solidus_subscriptions/processor.rb index b5aaa70..ffc274b 100644 --- a/lib/solidus_subscriptions/processor.rb +++ b/lib/solidus_subscriptions/processor.rb @@ -5,7 +5,7 @@ module SolidusSubscriptions class << self def run SolidusSubscriptions::Subscription.actionable.find_each(&method(:process_subscription)) - SolidusSubscriptions::Installment.actionable.with_active_subscription.find_each(&method(:process_installment)) + SolidusSubscriptions::Installment.actionable.find_each(&method(:process_installment)) end private -- cgit v1.2.3