lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.101.0

- old
+ new

@@ -401,12 +401,10 @@ :Vendor => @options[:login], :TxType => TRANSACTIONS[action], :VPSProtocol => @options.fetch(:protocol_version, '3.00') ) - if(application_id && (application_id != Gateway.application_id)) - parameters.update(:ReferrerID => application_id) - end + parameters.update(:ReferrerID => application_id) if application_id && (application_id != Gateway.application_id) parameters.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&') end # SagePay returns data in the following format