lib/active_merchant/billing/gateways/authorize_net.rb in activemerchant-1.20.0 vs lib/active_merchant/billing/gateways/authorize_net.rb in activemerchant-1.20.1
- old
+ new
@@ -318,9 +318,10 @@
post[:relay_response] = "FALSE"
post[:type] = action
post[:delim_data] = "TRUE"
post[:delim_char] = ","
post[:encap_char] = "$"
+ post[:solution_ID] = application_id if application_id.present? && application_id != "ActiveMerchant"
request = post.merge(parameters).collect { |key, value| "x_#{key}=#{CGI.escape(value.to_s)}" }.join("&")
request
end