Page 1 of 1
Paypal Standard inside iframe
Posted: Fri Nov 29, 2013 6:40 pm
by antmaverick
I have searched and found numerous old topics about this but running version 1.5.6 and viewing OC store inside Facebook tab, I can't use both PP Standard and PP Pro iframe.
PP Pro iframe says "Your payment can't be processed. Please contact the merchant directly."
I guess this could be my location is in Singapore and no support for PP Pro.
In addition, I am running the store on SSL.
My config for PP iframe:
Transaction method: Sale
Test mode: no
Debug mode: no
Checkout method: iframe
Thanks in advanced for helping.
Re: Paypal Standard inside iframe
Posted: Sat Nov 30, 2013 12:19 am
by butte
PayPal will not allow you to display it inside a frame or an iframe. You must set the PayPal href target to _top or similar. See
http://forum.opencart.com/viewtopic.php ... 77#p449748 and the posts above it.
Re: Paypal Standard inside iframe
Posted: Thu Dec 19, 2013 6:49 pm
by BlondeBimbo
Latching on to this thread - I have the same issue, the host website currently uses frames - and won't change for several months - in the meantime I need to set it up so that when OC sends the link to the Paypal website for authorisation - it opens in a new window (i.e. outside any frame) and not within the frame in which OC currently runs.
However reading this and other links/topics I cannot find where these links can be set up - not in the config, or indeed which .php ot .tpl to modify - so please guys - where is this info set up (paypal standard - or pro (uk))?
BB
Re: Paypal Standard inside iframe
Posted: Fri Dec 20, 2013 1:40 am
by butte
BlondeBimbo, there are sets of PP files (for PP standard, PP others). General layout of all files is /catalog/ tree, then model/, controller/, language/, and view/theme/themename/template/ directories, then inside those arrays of common/, payment/, etc. directories. Inside the payment/ directories are the payment module files. Each payment/ and other directoryname/ holds a whateveritis.php and the corresponding template is whateveritis.tpl instead. Those are families of files.
Inside your PP template file, find where the link to PP fires. There you can put "<A HREF="
https://www.PayPal.com/blahblahblah" TARGET="_top">" or an equivalent to send it outside the frameset. The return from PP can actually be set to return to the proper place inside the frameset when a customer either hits cancel and return or pays and is sent back to see a thank you screen. That return must be specified exactly, usually inside the PP account.