lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.106.0
- old
+ new
@@ -225,10 +225,10 @@
else
MultiResponse.run(true) do |r|
r.process { commit_raw(action, parameters) }
r.process {
split_auth = split_authorization(r.authorization)
- auth = (action.include?('recur')? split_auth[4] : split_auth[0])
+ auth = (action.include?('recur') ? split_auth[4] : split_auth[0])
action.include?('recur') ? commit_raw('recur/ack', {ID: auth}) : commit_raw('ack', {TransactionNumber: auth})
}
end
end
end