Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment process error


craigcjc

Recommended Posts

Posted

:rolleyes: Hi I hope someone can help me on this. We have been running a shop and processing credit card payments have been going through to the payment gateway "paystation" via their module supplied, fine. Everything was working.

 

Then suddenly, when you go continue, the following error comes up at the bottom of the screen.

 

Catchable fatal error: Object of class paystation could not be converted to string in /home/loobyloo/public_html/shop/includes/functions/html_output.php on line 240

 

 

 

Nothing has been done to the site to cause this.

 

Below is the code from the line 240.

 

// Output a form hidden field

function tep_draw_hidden_field($name, $value = '', $parameters = '') {

$field = '<input type="hidden" name="' . tep_output_string($name) . '"';

 

if (tep_not_null($value)) {

$field .= ' value="' . tep_output_string($value) . '"';

} elseif (isset($GLOBALS[$name])) {

$field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"';

}

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

return $field;

}

//

 

Has anyone else had this happen? We have checked with paystation and nothing has changed at their end.

 

CJC

Archived

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

×
×
  • Create New...