Fix PayPal Express Checkout Not Showing on Cart Page

ce-1.9.1.0paypalpaypal-express

The paypal express checkout button not showing up on my cart pages. It shows up as a payment method on my checkout page however and works fine. I enabled the Display on Shopping Cart option even going down to the store view and trying and still a no go. I even tried putting my theme to default one and it still does not show up.
Any help would be appreciated.
Thanks

Best Answer

Check that you have the following xml in your paypal.xml layout:

<checkout_cart_index>
    <reference name="checkout.cart.top_methods">
        <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="checkout.cart.methods.onepage.top" template="paypal/express/shortcut.phtml">
            <action method="setIsQuoteAllowed"><value>1</value></action>
            <action method="setShowOrPosition"><value>after</value></action>
        </block>
    </reference>

    <reference name="checkout.cart.methods">
        <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="checkout.cart.methods.onepage.bottom" template="paypal/express/shortcut.phtml">
            <action method="setIsQuoteAllowed"><value>1</value></action>
            <action method="setShowOrPosition"><value>after</value></action>
        </block>
    </reference>

    <update handle="SHORTCUT_popup" />
</checkout_cart_index>

Also make sure you clear Magento cache so that the changes can reflect.

If that doesn't work, enable Magento logging and go to the cart page. If it does not display, check exception.log for any Paypal gateway issues.