Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

click paypal button, get errror


regostein

Recommended Posts

Posted

I get this error message when I click on the Paypal icon.

 

Fatal error: Call to a member function set_snapshot() on a non-object in /home/nwcexcom/public_html/shop/ext/modules/payment/paypal/express.php on line 23

 

I haven't changed the code at all.

This seems like the pertinent code. I don't know what to put into this space $navigation->set_snapshot($snapshot);

 

// if the customer is not logged on, redirect them to the login page

if (!tep_session_is_registered('customer_id')) {

$snapshot = array('page' => 'ext/modules/payment/paypal/express.php',

'mode' => $request_type,

'get' => $HTTP_GET_VARS,

'post' => $HTTP_POST_VARS);

 

$navigation->set_snapshot($snapshot);

 

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

Archived

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

×
×
  • Create New...