The complete error:
Fatal error: Call to a member function toHtml() on a non-object in /home/$account/public_html/app/code/core/Mage/Paypal/controllers/PayflowadvancedController.php on line 91
Magento 1.62 default package with JM Pixeri. After attempting to enable "PayPal Payments Advanced" if you go through the shopping cart and click to pay via Paypal Payments Advanced you will get this error displayed where the paypal payment information should display on the page. For testing I currently have 3 options enabled:
PayPal Payment Advanced -- displays as "Credit Card"
PayPal standard -- displays as a paypal button
PayPal Pre-authorization -- a fake mechanism
I installed several other recent Joomlart themes, all resulting in the same error.
jm_dicento
jm_celas
jm_feronis
When I opted to enable either of the default themes that come with magento, "default" or "modern" the problem goes away. To be sure I then googled and found a FREE theme and tested it, footprint, and it also worked successfully. I’m attaching an image of what success looks like.
Attachment 22121
4 answers
Hope i have fixed the issue, Please check and confirm.
Also try the process by clearing Magento cache and Browser cache
Note: If you Find my Post useful please click on the Thanks Icon
This is looking promising. It now shows the paypal credit card information screen. I am running into a different problem in that it is prompting to enter CSC info but the CSC input field will not take text. This might be a problem with configuration on PayPal. I’ve emailed my client back requesting that he check in merchant configuration that this is set to know, as magento configuration specifies.
The question: what did you do to have to fix this problem? Was it a common problem with all the templates as I was seeing?
Attachment 22125
This code was missing in paypal.xml
Code:
<paypal_payflow_advanced_iframe> <block type="paypal/payflow_advanced_iframe" name="payflow.advanced.iframe" template="paypal/payflowadvanced/form.phtml" /> </paypal_payflow_advanced_iframe>
Note: If you Find my Post useful please click on the Thanks Icon
PayPal is now working; I found/made a configuration change on their merchant site disabling an unrequired CSC field. Thank you.
This question is now closed