0

All of my payment methods seem to have disappeared, i know the correct files are being called as when i turn on template paths in the back end i see them all there but nothing is displaying. This is a new problem as i was testing the checkout just the other day and everything was working fine. If you need any of the code that is begin called let me know

These are the errors in the console

Failed to load resource
<li id=​"top-opc-payment" class=​"section allow">​…​</li>​<span class=​"number">​4​</span>​<h2>​Payment Information​</h2>​</li>​ opcheckout.js:61
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.website.com/js/prototype/windows/themes/magento.css

Has anybody had this problem before and know how to fix it as i am at a loose end.

Thank you

1 Answer 1

1

Seems, Your opcheckout.js is not found or its having some issues. Are u getting any errors in console.?

class Sundar_payment_Model_Activpayment
   {

public function getActivPaymentMethods()
{
   $payments = Mage::getSingleton('payment/config')->getActiveMethods();

   $methods = array(array('value'=>'', 'label'=>Mage::helper('adminhtml')->__('--Please Select--')));

   foreach ($payments as $paymentCode=>$paymentModel) {
        $paymentTitle = Mage::getStoreConfig('payment/'.$paymentCode.'/title');
        $methods[$paymentCode] = array(
            'label'   => $paymentTitle,
            'value' => $paymentCode,
        );
    }

    return $methods;

} 

}

Check this function's output and get back to me,This function echos all your enabled payment methods.

2
  • I have added my console errors to my question
    – Adam Allen
    Commented Oct 14, 2014 at 11:35
  • Edited the answer Adam Allen
    – Sundar
    Commented Oct 14, 2014 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.