Jump to content

Paypal restriction - shop as iframe app (e.g. FB App)


graffeli

Recommended Posts

Hi, my shop(v1.4.8) works fine when running in "(sub-)domain-mode". But I would like iframe integrate hole prestashop with paypal modul(1). At the end I have a facebook app(2).

 

Whats happen - hole shop works fine under facebook now, but when somebody like to check out with paypal, then the paypal module (I tried 2.8.7 and 3.0.7) make troubles in the "facebook app iframe environment". The file make no redirection - pay process is stopped. The output of file named; "Please wait, redirecting to Paypal..." or similar...

 

The problem seems to be a restriction of Paypal or perhaps it's a Facebook restriction (https://..).

 

I think the easyest way to solve the problem in a quick step in prestashop paypal modul is to use other target like "_blank" or "_top". I don't like this workaround, but why not.

 

@paypal module developer - please a) customize your module or B) please write in this thread, where I can manual modify the «"_top" target» in your paypal module.

 

E.g. dummy script, something like

<form action="{$paypal_url}" method="post" id="paypal_form" target="_top"></form>

..or target="_blank"

 

Thanks a lot and kind regards, «graffeli»

 

Ressources

1 | http://bit.ly/OxRBws

2 | https://developers.facebook.com/apps

 

Similar threads

3 | http://www.prestashop.com/forums/..

4 | http://www.prestashop.com/forums/..

5 | PayPal integration with iframe-based cart

Edited by graffeli (see edit history)
Link to comment
Share on other sites

Hi, good idea! Where I can change/"hack" paypal modul from

<form action="http://mydomain.com/modules/paypal/payment/submit.php" method="post">

 

to

<form action="http://mydomain.com/modules/paypal/payment/submit.php" method="post" target="_top">

Kind regards, «designo»

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...