Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Innovative Merchant Contribution


MIKdUB

Recommended Posts

Posted

I was able to get it installed correctly, I just have one little problem. As you know when there is an error with the credit car a message should appear on the top of the page telling the user what is the error, well its not happening. The error shows in the address bar but not on the actual page. I was looking through the files and I found the following code:

 

// if($result[0] == "error")

// {

// // error, return the error message

// echo "There was an error processing your credit card. ";

// echo "The error was:";

// echo "<P>";

//

// print out the error message

// for($i=0;$<count($result);$i++)

// {

// echo "$result[$i]";

// }

//

// echo "</P>";

// }

// else

// {

// success, do finishing stuff

// }

 

It says I should inclide this code for it to show the user an error message, if any. I'm not a php expert, can anyone help me out in figuring out where does this code go. Heres the link to the contribution http://www.oscommerce.com/community/contri...,all/search,igs I'm sure this will take only a few minutes, please help.

 

Thanks in advanced.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...