lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.90.0 vs lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.91.0
- old
+ new
@@ -331,9 +331,10 @@
def add_check(params, check)
params[:media] = 'ach'
params[:routing] = check.routing_number
params[:account] = check.account_number
params[:savings] = 'y' if check.account_type == 'savings'
+ params[:name] = check.name
end
def add_creditcard(params, creditcard)
params[:media] = 'cc'
params[:name] = creditcard.name