lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.116.0

- old
+ new

@@ -44,21 +44,21 @@ add_pair(post, :RefID, options[:order_id], required: true) commit((payment.is_a?(Check) ? :purchase_echeck : :purchase), post) end - def refund(money, authorization, options={}) + def refund(money, authorization, options = {}) post = {} transaction_id, payment_type = split_authorization(authorization) add_amount(post, money) add_pair(post, :TransID, transaction_id) add_pair(post, :RefID, options[:order_id], required: true) commit((payment_type == 'check' ? :refund_echeck : :refund), post) end - def void(authorization, options={}) + def void(authorization, options = {}) post = {} transaction_id, = split_authorization(authorization) add_pair(post, :TransID, transaction_id)