lib/active_merchant/billing/gateways/payflow.rb in activemerchant-1.124.0 vs lib/active_merchant/billing/gateways/payflow.rb in activemerchant-1.125.0
- old
+ new
@@ -298,10 +298,10 @@
def authentication_status(three_d_secure, xml)
status = if three_d_secure[:authentication_response_status].present?
three_d_secure[:authentication_response_status]
elsif three_d_secure[:directory_response_status].present?
three_d_secure[:directory_response_status]
- end
+ end
if status.present?
xml.tag! 'Status', status
xml.tag! 'AuthenticationStatus', status if version_2_or_newer?(three_d_secure)
end
end