I have the linkpoint api installe. My clients customers get the following code when checking out.
From Client: When trying to order on-line, I get to the final step of confirmation after giving credit card info, and instead of confirmation that order is complete, I get error message:
Fatal error: Cannot use string offset as an array in/home/content/59/7142359/html/includes/modules/payment/linkpoint_api.php on line 472
The PEM file is installed correctly. I need to get this fixed ASAP!! Any help would be great!
Latest News: (loading..)
Fatal error: In Linkpoint
Started by apedolzky, Nov 21 2011, 00:21
3 replies to this topic
#1
Posted 21 November 2011, 00:21
#2
Posted 21 November 2011, 01:37
I am using GoDaddy as a hosting company, I am on a shared hosting and do not have the ability to change the port to port 1129. Is there any other issues or ways around this ARRAY ISSUE. here is the coding for around line 472: Bold is line 472
//perform verification work
if($result["r_avs"][1]=="N" || $result["r_avs"][3]=="N" || $result["r_avs"][3]=="S" || $result["r_approved"] != "APPROVED") {
$myerrdisplay='';
if($result["r_approved"] != "APPROVED") {
$newerr=split(":",$result["r_error"]);
//Check if their was a 4th colon delimited section present.
if(isset($newerr[3])){
//Make sure it has at least 4 characters
if(strlen($newerr[3])>3){
//what happened w/ Address
if($newerr[3][0]=="N"){
$myerrdisplay.='Address did not match. ';
}elseif($newerr[3][0]=="Y"){
$myerrdisplay.='Address Verified. ';
}else{
$myerrdisplay.='Address OK. ';
}
//what happened w/ Zip
if($newerr[3][1]=="N"){
$myerrdisplay.='Zip did not match. ';
} elseif($newerr[3][1]=="Y"){
$myerrdisplay.='Zip Verified. ';
} else {
$myerrdisplay.='Zip OK. ';
}
Please help
//perform verification work
if($result["r_avs"][1]=="N" || $result["r_avs"][3]=="N" || $result["r_avs"][3]=="S" || $result["r_approved"] != "APPROVED") {
$myerrdisplay='';
if($result["r_approved"] != "APPROVED") {
$newerr=split(":",$result["r_error"]);
//Check if their was a 4th colon delimited section present.
if(isset($newerr[3])){
//Make sure it has at least 4 characters
if(strlen($newerr[3])>3){
//what happened w/ Address
if($newerr[3][0]=="N"){
$myerrdisplay.='Address did not match. ';
}elseif($newerr[3][0]=="Y"){
$myerrdisplay.='Address Verified. ';
}else{
$myerrdisplay.='Address OK. ';
}
//what happened w/ Zip
if($newerr[3][1]=="N"){
$myerrdisplay.='Zip did not match. ';
} elseif($newerr[3][1]=="Y"){
$myerrdisplay.='Zip Verified. ';
} else {
$myerrdisplay.='Zip OK. ';
}
Please help
#3
Posted 28 November 2011, 23:33
Is there anyone that can help with this. I am in dire need
#4
Posted 14 December 2011, 15:48
We are also having this issue. Can anyone lend some guidance?
Thanks in advance
Thanks in advance














