summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/solidus_subscriptions/processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/solidus_subscriptions/processor.rb b/lib/solidus_subscriptions/processor.rb
index ef3ec59..96717cc 100644
--- a/lib/solidus_subscriptions/processor.rb
+++ b/lib/solidus_subscriptions/processor.rb
@@ -58,7 +58,7 @@ module SolidusSubscriptions
def build_jobs
users.map do |user|
installemts_by_address_and_user = installments(user).group_by do |i|
- i.subscription.shipping_address_id
+ [i.subscription.shipping_address_id, i.subscription.billing_address_id]
end
installemts_by_address_and_user.values.each do |grouped_installments|