lib/active_merchant/billing/gateways/visanet_peru.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/visanet_peru.rb in activemerchant-1.104.0
- old
+ new
@@ -211,9 +211,10 @@
args.reject { |m| error_message_empty?(m) }.join(' | ')
end
def action_code_description(response)
return nil unless response['data']
+
response['data']['DSC_COD_ACCION']
end
def error_message_empty?(error_message)
empty?(error_message) || error_message == '[ ]'