diff --git a/app/models/payment/go_cardless/subscription.rb b/app/models/payment/go_cardless/subscription.rb index f7097342a..570493fb4 100644 --- a/app/models/payment/go_cardless/subscription.rb +++ b/app/models/payment/go_cardless/subscription.rb @@ -13,8 +13,9 @@ def initialize(subscription, event = {}) def call Payment::GoCardless.write_transaction(event['links']['payment'], amount, currency, page.id, subscription) - # Hack - ActionKit creates a transaction with the subscription, so when - # we create our first. + # Hack - ActionKit creates a transaction along with a recurring donation action, so when + # we eventually create our first transaction we don't need to pass this on. + # if subscription.transactions.count > 1 ChampaignQueue.push( type: 'subscription-payment',