lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/pro_pay.rb in activemerchant-1.101.0

- old
+ new

@@ -293,12 +293,10 @@ def authorization_from(response) response[:trans_num] end def error_code_from(response) - unless success_from(response) - response[:status] - end + response[:status] unless success_from(response) end def build_xml_request builder = Nokogiri::XML::Builder.new do |xml| xml.XMLRequest do