lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.32.1 vs lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.33.0
- old
+ new
@@ -158,9 +158,10 @@
add_pair(post, :ClientIPAddress, options[:ip])
end
def add_optional_data(post, options)
add_pair(post, :GiftAidPayment, options[:gift_aid_payment]) unless options[:gift_aid_payment].blank?
+ add_pair(post, :Apply3DSecure, options[:apply_3d_secure]) unless options[:apply_3d_secure].blank?
end
def add_address(post, options)
if billing_address = options[:billing_address] || options[:address]
first_name, last_name = parse_first_and_last_name(billing_address[:name])