lib/active_merchant/billing/gateways/pay_conex.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/pay_conex.rb in activemerchant-1.87.0

- old
+ new

@@ -229,10 +229,10 @@ success_from(response) ? response['authorization_message'] : response['error_message'] end def post_data(action, params) params[:transaction_type] = action - params.map {|k, v| "#{k}=#{CGI.escape(v.to_s)}"}.join('&') + params.map { |k, v| "#{k}=#{CGI.escape(v.to_s)}" }.join('&') end def unparsable_response(raw_response) message = 'Invalid JSON response received from PayConex. Please contact PayConex if you continue to receive this message.' message += " (The raw response returned by the API was #{raw_response.inspect})"