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

- old
+ new

@@ -151,11 +151,13 @@ def commit(action, money = nil, parameters = nil) request_data = post_data(action, parameters) response = parse(ssl_post(test? ? self.test_url : self.live_url, request_data)) response = parse(ssl_post(self.live_url_backup, request_data)) if service_unavailable?(response) && !test? - Response.new(success?(response), message_from(response), response.merge( - :timestamp => parameters[:dateq]), + Response.new( + success?(response), + message_from(response), + response.merge(:timestamp => parameters[:dateq]), :test => test?, :authorization => response[:numappel].to_s + response[:numtrans].to_s, :fraud_review => false, :sent_params => parameters.delete_if { |key, value| ['porteur', 'dateval', 'cvv'].include?(key.to_s) } )