lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.89.0 vs lib/active_merchant/billing/gateways/trust_commerce.rb in activemerchant-1.90.0
- old
+ new
@@ -310,12 +310,12 @@
end
private
def add_aggregator(params, options)
- if @options[:aggregator_id]
+ if @options[:aggregator_id] || application_id != Gateway.application_id
params[:aggregators] = 1
- params[:aggregator1] = @options[:aggregator_id]
+ params[:aggregator1] = @options[:aggregator_id] || application_id
end
end
def add_payment_source(params, source)
if source.is_a?(String)