# File lib/active_merchant/billing/integrations/direc_pay/notification.rb, line 61 def parse(post) super values = params['responseparams'].to_s.split('|') response_params = values.size == 3 ? ['DirecPay Reference ID', 'Flag', 'Error message'] : RESPONSE_PARAMS response_params.each_with_index do |name, index| params[name] = values[index] end params end