I can't get past Step 5 Payment in my one page checkout system. I have checked the ID "checkout-payment-method-load" exists, and it does. No JS error. What could be wrong? Using Magento 1.6.
https://www.internationalplayground.com/
I also tried replacing line 81 of info.phtml to
review = new Review(’getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>’, ‘getUrl('checkout/onepage/success') ?>’, $(’checkout-agreements’));
in exception.log
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_PaypalUk_Block_Link_Shortcut' in /home/internat/public_html/app/Mage.php:563
Stack trace:
#0 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(469): Mage::throwException('Invalid block t...')
#1 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(411): Mage_Core_Model_Layout->_getBlockInstance('paypaluk/link_s...', Array)
#2 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('paypaluk/link_s...', 'checkout.cart.m...')
#3 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('paypaluk/link_s...', 'checkout.cart.m...')
#4 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(204): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/internat/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/internat/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(345): Mage_Core_Model_Layout->generateBlocks()
#7 /home/internat/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(270): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home/internat/public_html/app/code/core/Mage/Checkout/controllers/CartController.php(149): Mage_Core_Controller_Varien_Action->loadLayout()
#9 /home/internat/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Checkout_CartController->indexAction()
#10 /home/internat/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /home/internat/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /home/internat/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#13 /home/internat/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#14 /home/internat/public_html/index.php(82): Mage::run('', 'store')
#15 {main}
Best Answer
Error says that there should be block class
Mage_PaypalUk_Block_Link_Shortcut
which is called using block typepaypaluk/link_shortcut
but as per magento default 1.6 this class does not exits in system.That's why it shows error. You need to remove it from layout file.
As per my concept block type should be
paypaluk/express_shortcut
.