vichon Posted December 14, 2006 Share Posted December 14, 2006 I am using the Linkpoint Connect to access YourPay. There is an option for the Card Verification Value to not be present or readable that my client wants removed. How do I remove this feature forcing the purchases to enter a CVV? Thanks. Quote Link to comment Share on other sites More sharing options...
bpmcclure Posted February 13, 2008 Share Posted February 13, 2008 I am using the Linkpoint Connect to access YourPay. There is an option for the Card Verification Value to not be present or readable that my client wants removed. How do I remove this feature forcing the purchases to enter a CVV? Thanks. I would be interested in how to do this as well. Thanks. Quote Link to comment Share on other sites More sharing options...
iofast Posted March 9, 2008 Share Posted March 9, 2008 I would be interested in how to do this as well. Thanks. change this section of code: //perform verification work if($result["r_avs"][1]=="N" || $result["r_avs"][3]=="N" || $result["r_approved"] == "DECLINED") //if ($result["r_approved"] == "DECLINED") { $myerrdisplay=''; if($result["r_approved"] == "DECLINED") { $newerr=split(":",$result["r_error"]); //what happened w/ Address if($newerr[3][0]=="N") $myerrdisplay.='Address did not match. '; else $myerrdisplay.='Address verified. '; //what happened w/ Zip if($newerr[3][1]=="N") $myerrdisplay.='Zip did not match. '; else $myerrdisplay.='Zip verified. '; //what happened w/ CVV if($newerr[3][3]=="N") $myerrdisplay.='CVV or Expiration did not match. '; else $myerrdisplay.='CVV and Expiration verified. '; }else{ //what happened w/ Address if($result["r_avs"][0]=="N") $myerrdisplay.='Address did not match. '; else $myerrdisplay.='Address verified. '; //what happened w/ Zip if($result["r_avs"][1]=="N") $myerrdisplay.='Zip did not match. '; else $myerrdisplay.='Zip verified. '; //what happened w/ CVV if($result["r_avs"][3]=="N") $myerrdisplay.='CVV or Expiration did not match. '; else $myerrdisplay.='CVV and Expiration verified. '; } To this: //perform verification work if($result["r_avs"][1]=="N" || $result["r_avs"][3]=="N" || $result["r_approved"] == "DECLINED") //if ($result["r_approved"] == "DECLINED") { $myerrdisplay=''; if($result["r_approved"] == "DECLINED") { $newerr=split(":",$result["r_error"]); //what happened w/ Address if($newerr[3][0]=="N") $myerrdisplay.='Address did not match. '; else $myerrdisplay.='Address verified. '; //what happened w/ Zip if($newerr[3][1]=="N") $myerrdisplay.='Zip did not match. '; else $myerrdisplay.='Zip verified. '; //what happened w/ CVV if($newerr[3][3]=="N") $myerrdisplay.='CVV or Expiration did not match. '; else $myerrdisplay.='CVV and Expiration verified. '; }else{ //what happened w/ Address if($result["r_avs"][0]=="N") $myerrdisplay.='Address did not match. '; else $myerrdisplay.='Address verified. '; //what happened w/ Zip if($result["r_avs"][1]=="N") $myerrdisplay.='Zip did not match. '; else $myerrdisplay.='Zip verified. '; //what happened w/ CVV //1.3 - Added Test for r_avs=S to Change CVV verification to reject no CVV as well as incorrect CVV. Module would previously accept good or no CVV and reject bad CVV. if($result["r_avs"][3]=="N") $myerrdisplay.='CVV or Expiration did not match. '; elseif($result["r_avs"][3]=="S") $myerrdisplay.='CVV Not Provided. '; else $myerrdisplay.='CVV and Expiration verified. '; } I haven't put this in the current code online because I wanted to make it an admin option, despite our stores using this. Please also note that this is the Yourpay/Linkpoint API not the connect system though I imagine a similar change would so the trick with regard to a check on the CVV code for the S value being returned by Linkpoint. This applies only to the linkpoint_api.php file of http://www.oscommerce.com/community/contributions,4255. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.