lib/active_merchant/billing/gateways/blue_snap.rb in activemerchant-1.117.0 vs lib/active_merchant/billing/gateways/blue_snap.rb in activemerchant-1.118.0

- old
+ new

@@ -317,10 +317,12 @@ end def add_fraud_info(doc, payment_method, options) doc.send('transaction-fraud-info') do doc.send('shopper-ip-address', options[:ip]) if options[:ip] - + if fraud_info = options[:transaction_fraud_info] + doc.send('fraud-session-id', fraud_info[:fraud_session_id]) if fraud_info[:fraud_session_id] + end unless payment_method.is_a? String doc.send('shipping-contact-info') do add_shipping_contact_info(doc, payment_method, options) end end