lib/active_merchant/billing/gateways/barclaycard_smartpay.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/barclaycard_smartpay.rb in activemerchant-1.84.0

- old
+ new

@@ -139,11 +139,10 @@ response, test: test?, avs_result: AVSResult.new(:code => parse_avs_code(response)), authorization: response['recurringDetailReference'] || authorization_from(post, response) ) - rescue ResponseError => e case e.response.code when '401' return Response.new(false, 'Invalid credentials', {}, :test => test?) when '403' @@ -306,9 +305,10 @@ hash[:reference] = options[:order_id] if options[:order_id] hash[:shopperEmail] = options[:email] if options[:email] hash[:shopperIP] = options[:ip] if options[:ip] hash[:shopperReference] = options[:customer] if options[:customer] hash[:shopperInteraction] = options[:shopper_interaction] if options[:shopper_interaction] + hash[:deviceFingerprint] = options[:device_fingerprint] if options[:device_fingerprint] hash.keep_if { |_, v| v } end def store_request(options) hash = {}