lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/trans_first.rb in activemerchant-1.137.0

- old
+ new

@@ -217,11 +217,10 @@ def post_data(action, params = {}) add_unused_fields(action, params) params[:MerchantID] = @options[:login] params[:RegKey] = @options[:password] - request = params.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&') - request + params.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&') end def add_pair(post, key, value, options = {}) post[key] = value if !value.blank? || options[:required] end