lib/active_merchant/billing/gateways/paypal_express.rb in activemerchant-1.120.0 vs lib/active_merchant/billing/gateways/paypal_express.rb in activemerchant-1.121.0
- old
+ new
@@ -248,9 +248,10 @@
xml.tag! 'n2:ReferenceID', options[:reference_id]
xml.tag! 'n2:PaymentAction', action
xml.tag! 'n2:PaymentType', options[:payment_type] || 'Any'
add_payment_details(xml, money, currency_code, options)
xml.tag! 'n2:IPAddress', options[:ip]
+ xml.tag! 'n2:MerchantSessionId', options[:merchant_session_id] if options[:merchant_session_id].present?
end
end
end
xml.target!