lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.104.0
- old
+ new
@@ -282,9 +282,10 @@
response[:status] == '00'
end
def message_from(response)
return 'Success' if success_from(response)
+
message = STATUS_RESPONSE_CODES[response[:status]]
message += " - #{TRANSACTION_RESPONSE_CODES[response[:response_code]]}" if response[:response_code]
message
end