Forums / PayPal Express Checkout support / Paypal This content cannot be displayed in a frame message

Paypal This content cannot be displayed in a frame message

Views: 5,276

Results 1 to 6 of 6
21 Oct 2011, 1:25 AM
#1
bwood5 avatar

bwood5

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Paypal This content cannot be displayed in a frame message

I am Running version 1.3.9F and have been for almost a year. I have been using paypal standard IPN with no errors.
I have not upgraded or added anything to the site and have been receiving orders all week. Today during the final step of processing an order I confirm the order and receive a screen in IE 8

This content cannot be displayed in a frame

To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.

I contacted paypal and they said:
If using frames, you will want to add target="paypal" in the <form action> tag of the HTML code to prevent our payment page from being displayed in a Frame

Does anyone know how to do what paypal requests above?

The site is BowEquipped.com

Foxfire says its an untrusted cert.

21 Oct 2011, 1:40 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Paypal This content cannot be displayed in a frame message

On reaching your domain, it is operating using FRAMES:

<frameset rows="100%">
  <frameset cols="100%">
    <frame src="http://www.bowequipped.com/zencart" frameborder="0" scrolling="yes">
  </frameset>
</frameset>

And then the zencart site (which is in a sub-directory called /zencart), is being loaded into the frame.

Hackers and crooks use frames to "hoodwink" people into believing they are at one site, when they are in fact at another - so payment gateways treat frames suspiciously.

You need to properly move your site OUT of the sub-folder, into the ROOT folder, and kill the "index.html" file in the root directory.

20 years a Zencart User

21 Oct 2011, 10:49 PM
#3
bwood5 avatar

bwood5

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: Paypal This content cannot be displayed in a frame message

Any Idea why this is just happening now? It has been working for a year.

22 Oct 2011, 5:30 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal This content cannot be displayed in a frame message

PayPal has disapproved of making payments from inside frames for a very long time.
Perhaps they recently changed something to enforce it more effectively.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Oct 2011, 6:04 PM
#5
bwood5 avatar

bwood5

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: Paypal This content cannot be displayed in a frame message

That did the trick thanks for the help. Needed to also update the .htaccess file. This link was helpful in the move to the root dir.
https://www.zen-cart.com/tutorials/index.php?article=122

24 Oct 2011, 12:48 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Paypal This content cannot be displayed in a frame message

bwood5:

That did the trick thanks for the help. Needed to also update the .htaccess file. This link was helpful in the move to the root dir.
https://www.zen-cart.com/tutorials/index.php?article=122

What are you using htaccess for?

20 years a Zencart User