lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/safe_charge.rb in activemerchant-1.104.0

- old
+ new

@@ -205,10 +205,11 @@ response[:status] == 'APPROVED' end def message_from(response) return 'Success' if success_from(response) + response[:reason_codes] || response[:reason] end def authorization_from(response, parameters) [ @@ -238,9 +239,10 @@ def post_data(params) return nil unless params params.map do |key, value| next if value != false && value.blank? + "#{key}=#{CGI.escape(value.to_s)}" end.compact.join('&') end def error_code_from(response)