public function cleanAuthXml($xml)
        {
             $xml = preg_replace('#(\<(?:Encrypted)?CardSecurityCode\>).*(\</(?:Encrypted)?CardSecurityCode\>)#', '$1***$2', $xml);
             $xml = preg_replace('#(\<(?:Encrypted)?PaymentAccountUniqueId.*?\>).*(\</(?:Encrypted)?PaymentAccountUniqueId\>)#', '$1***$2', $xml);
             $xml = preg_replace('#(\<(?:Encrypted)?AccountID.*?\>).*(\</(?:Encrypted)?AccountID\>)#', '$1***$2', $xml);
             return $xml;
        }
public function cleanAuthXml($xml)
        {
             $xml = preg_replace('#(\<(?:Encrypted)?CardSecurityCode\>).*(\</(?:Encrypted)?CardSecurityCode\>)#', '$1***$2', $xml);
             $xml = preg_replace('#(\<(?:Encrypted)?PaymentAccountUniqueId.*?\>).*(\</(?:Encrypted)?PaymentAccountUniqueId\>)#', '$1***$2', $xml);
             $xml = preg_replace('#(\<(?:Encrypted)?AccountID.*?\>).*(\</(?:Encrypted)?AccountID\>)#', '$1***$2', $xml);
             return $xml;
        }
public function cleanAuthXml ( $ xml ) { $ xml = preg_replace ( '#(\<(?:Encrypted)?CardSecurityCode\>).*(\</(?:Encrypted)?CardSecurityCode\>)#' , '$1***$2' , $ xml ) ; $ xml = preg_replace ( '#(\<(?:Encrypted)?PaymentAccountUniqueId.*?\>).*(\</(?:Encrypted)?PaymentAccountUniqueId\>)#' , '$1***$2' , $ xml ) ; $ xml = preg_replace ( '#(\<(?:Encrypted)?AccountID.*?\>).*(\</(?:Encrypted)?AccountID\>)#' , '$1***$2' , $ xml ) ; return $ xml ; }
Scrub the auth request XML message of any sensitive data - CVV, CC number.
@param  string $xml
@return string
Scrub the auth request XML message of any sensitive data - CVV CC number .