Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Finish comment
Browse files Browse the repository at this point in the history
  • Loading branch information
osahyoun committed May 17, 2016
1 parent 2af2669 commit e197879
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/models/payment/go_cardless/subscription.rb
Expand Up @@ -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',
Expand Down

0 comments on commit e197879

Please sign in to comment.