Preview Broken

I have 2 Paymant plugins for Woocommerce but Preview is broken for both of them (Screenshot added here

).

But when I view the Preview directly the Preview is working properly.

This issue also exist with Other similar payment plugins by different authors on envato.

Direct Link 1
Direct Link 2

Using Codecanyon Preview Link , This is broken but Directly its not broken.

Help me.

Thankyou

Hello weblizar,

Have you tried with adding HTTPS? Just guessing.

Cheers!

Hello @Honeyside , my subdomain is not having SSL.

See the video I added > https://filebin.net/fpr0tegflra74bnu

Thankyou

Exactly, I am suggesting for you to add SSL. It is the only thing that I can think of that could be getting you that error.

@Honeyside - If SSL is the cause then when I go Directly why everything works fine , The same link I use directly is without SSL .?

Thankyou

I think that the iframe is somehow requesting a secure connection for some kind of content that you are displaying. I may be wrong, anyway.

Hi

Just check your Pin payment preview from the item page and it is loading fine from my side. If you still facing issues then please check:

May be your server is setting the following header which prevents it from being displayed in an iframe.

X-Frame-Options: SAMEORIGIN

You should either omit the header, or change it to something like below:

X-Frame-Options: ALLOW-FROM https://preview.codecanyon.net/

If you are not familiar with X-Frame-Options then contact your webhosting support and let them do this for you.

Thanks

@mgscoder , I have made the particular correction in my security.conf file in my apache but still the Preview is broken.

Thankyou for help .

For me there must be x-frame issue.