Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with Checkout Fatal Error


thelicks

Recommended Posts

Posted

Howdy,

 

Having a problem with this fatal error when attempting to checkout......

 

Fatal error: Call to undefined method payment::checkout_initialization_method() in /home/midnigh3/public_html/shopping_cart.php on line 284

 

The code on the line 284 is:

 

<?php

$initialize_checkout_methods = $payment_modules->checkout_initialization_method();

 

if (!empty($initialize_checkout_methods)) {

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td>

</tr>

 

 

I don't know what happened or what I may have done to cause this issue, but can anyone clue me in on what to change.

 

Thanks

Posted
Call to undefined method payment::checkout_initialization_method() in /home/midnigh3/public_html/shopping_cart.php on line 284

as it stated the system undefined method payment::checkout_initialization_method().

 

Could you check the line 13 to 19 it should be the following code:

 

 require("includes/application_top.php");

if ($cart->count_contents() > 0) {
include(DIR_WS_CLASSES . 'payment.php');
$payment_modules = new payment;
}

 

anything missing?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...