Skip to content

Commit

Permalink
Bump to v8.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbrooks committed Mar 20, 2024
1 parent 99b08c6 commit 951ab69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/rock_rms/resources/refund.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def create_refund(

transaction_amount = old_transaction[:details].map{|d| d[:amount]}.reduce(0.0){|sum,x| sum + x }

scheduled_transaction_id = old_transaction[:recurring_donation_id]

refund_amount = amount || transaction_amount

Expand All @@ -37,7 +36,7 @@ def create_refund(
'TransactionDetails' => refunded_details(old_transaction[:details], transaction_amount, refund_amount),
'TransactionTypeValueId' => old_transaction[:transaction_type_id],
'SourceTypeValueId' => old_transaction[:source_type_id],
'ScheduledTransactionId' => scheduled_transaction_id,
'ScheduledTransactionId' => old_transaction[:recurring_donation_id]
}
}
post(refund_path, params)
Expand Down
2 changes: 1 addition & 1 deletion lib/rock_rms/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RockRMS
VERSION = '8.19.0'.freeze
VERSION = '8.20.0'.freeze
end

0 comments on commit 951ab69

Please sign in to comment.