From 38842f85f7a1a35390d64abc04ad721927248786 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Wed, 31 Oct 2018 14:02:49 +0530 Subject: [PATCH 1/2] PayFlow - Address Verification Order Notes Adjustment, PFW-293 --- ...c-gateway-paypal-pro-payflow-angelleye.php | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/classes/wc-gateway-paypal-pro-payflow-angelleye.php b/classes/wc-gateway-paypal-pro-payflow-angelleye.php index 1af9641b9..5044960ef 100644 --- a/classes/wc-gateway-paypal-pro-payflow-angelleye.php +++ b/classes/wc-gateway-paypal-pro-payflow-angelleye.php @@ -1425,11 +1425,25 @@ public function process_subscription_payment($order, $amount, $payment_token = n */ $avs_address_response_code = isset($PayPalResult['AVSADDR']) ? $PayPalResult['AVSADDR'] : ''; $avs_zip_response_code = isset($PayPalResult['AVSZIP']) ? $PayPalResult['AVSZIP'] : ''; + $proc_avs_response_code = isset($PayPalResult['PROCAVS']) ? $PayPalResult['PROCAVS'] : ''; $avs_response_order_note = __('Address Verification Result', 'paypal-for-woocommerce'); - $avs_response_order_note .= "\n"; - $avs_response_order_note .= sprintf(__('Address Match: %s', 'paypal-for-woocommerce'), $avs_address_response_code); - $avs_response_order_note .= "\n"; - $avs_response_order_note .= sprintf(__('Postal Match: %s', 'paypal-for-woocommerce'), $avs_zip_response_code); + $avs_response_order_note .= '