davidtiong Posted July 18, 2012 Share Posted July 18, 2012 (edited) I face some problem with paypal as it doesn't want to be displayed in a frame. When I hit the "I confirm my order" button, with IE browser, It said "This content cannot be displayed in a frame. What you can try 'open this content in a new window' " and when I click that suggestion, a new window is displayed and this time hitting the button "I confirm my order" button works... Also, if I right click on the "I confirm my order" button and select "open link with new tab or new window", it works! Learn more... it has to do with the iframe.... Any suggestion which module to do some changes to have the button "I confirm my order" open a new window to solve this problem? Many thanks! I am using Prestashop 1.4.8.2 and Paypal 2.8.7 Edited July 18, 2012 by davidtiong (see edit history) Link to comment Share on other sites More sharing options...
davidtiong Posted July 18, 2012 Author Share Posted July 18, 2012 I solve the problem: modify this file \TOOLS\SMARTY\COMPILE\xxxxxxxx.FILE.PAYMENT.TPL.PHP where xxxxxxxx is generated by your SSL added: target="_blank" to this line: <p class="payment_module" height=""> <a href="<?php echo $_smarty_tpl->getVariable('base_dir_ssl')->value;?> modules/paypal/payment/submit.php" target="_blank" title="<?php echo smartyTranslate(array('s'=>'Pay with PayPal','mod'=>'paypal'),$_smarty_tpl);?> "> Link to comment Share on other sites More sharing options...
Pippo3000 Posted August 3, 2012 Share Posted August 3, 2012 hi david, I use exactly the same versions of PS and PayPal and miss desperatly the iframe version/option. But I understand that you did NOT get it to work with iframes either, right? You now open PayPal in an own windows? For me the redirect to Paypal.com works but nonetheless an iframe option would be preferred... Link to comment Share on other sites More sharing options...
tomerg3 Posted August 3, 2012 Share Posted August 3, 2012 Paypal does not work in a frame or iframe, at least not the regular version. There is a paypal Advanced which uses an iframe, and paypal Pro, which lets you host the payment on your site (CC only) 1 Link to comment Share on other sites More sharing options...
Pippo3000 Posted August 3, 2012 Share Posted August 3, 2012 Paypal does not work in a frame or iframe, at least not the regular version. There is a paypal Advanced which uses an iframe, and paypal Pro, which lets you host the payment on your site (CC only) But afaik that version is not available in my country. Which is Germany. Btw, are you still working on a DHL module? Phil Link to comment Share on other sites More sharing options...
tomerg3 Posted August 3, 2012 Share Posted August 3, 2012 Yes, still working on DHL, hopefully we'll have it ready in about a month. Link to comment Share on other sites More sharing options...
Pippo3000 Posted August 3, 2012 Share Posted August 3, 2012 Yes, still working on DHL, hopefully we'll have it ready in about a month. Great news. Any functionality you can already share now? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 3, 2012 Share Posted August 3, 2012 No, but I'll let you know when we have a first beta ready. If we had something to share, it would not be another month till it's ready Link to comment Share on other sites More sharing options...
walber2409 Posted June 28, 2013 Share Posted June 28, 2013 Hi there, I do have the same problem now with PS 1.4.9.x, but couldn't find the above mentioned ".payment.tpl.php". Any Version changes here to take into account? Appreciate help. Link to comment Share on other sites More sharing options...
Recommended Posts