Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: In Linkpoint


Guest

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...