Using Magento CE 1.9 I cannot get PayPal Pro Hosted to work with our custom theme. We use one page checkout. It seems the required template files don't get included.
Here's what I know:
If I revert back to the default theme it works so I know the Payment Method settings are ok.
Using Debug mode of PayPal I can see (in payment_hosted_pro.log) that the call to PayPal is made correctly and the response is received correctly.
checkout/onepage/saveOrder/form_key/XXX/is fired correctly and the response is as I would expect.
Using the default theme with template hints enabled I see that in step 5 of onepage checkout it includes
Using my custom theme, the above template file is not included.
So, number 5 seems to be the crux of the problem, but I cannot figure out how this is included in the default theme and why it is not being included in my custom theme. Can anyone explain that?
I have looked through the various dafault layout xml files and none of those seem to reference that template file.
Digging deeper I found that
app/code/core/Mage/PayPal/Block/Iframe.php file contains the code that sets that template file and renders the HTML, but I cannot figure why that is fired for the default template and not for my custom one.
Can anyone shed any light on this? Ideas and suggestions are much appreciated.