CrossY Posted April 10, 2014 Share Posted April 10, 2014 Hi there, I'm looking for a way to make PayPal work whilst Prestashop is loaded in an iFrame. PayPal itself prohibits it. Id like the following from anyone who's interested: Before the job - To know how you plan to solve the problem (popup? new window? force iframe to dissapear and load in main window?) - Total costs After the job - Exactly which edits and adjustments you've made (I probably want to copy the solution to more shops in a future) - A way to set RETURNURL and CANCELURL while still properly validating the order in Prestashop (when payment is finished), even if the RETURNURL is somewhere outside the Prestashop environment. I can edit the files manually, so I just need to know where and which file to change. Best, Dave Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 10, 2014 Share Posted April 10, 2014 As you have said. Iframe is not allowed by PayPal; for good reasons, and you risk losing your PayPal account going this route. Link to comment Share on other sites More sharing options...
CrossY Posted April 10, 2014 Author Share Posted April 10, 2014 I don't see how i'm doing anything illegal?The most popular method in the Netherlands is iDeal. (It works through logging in with your personal account to your online bank-environment, and 'accepting' the payment in a few clicks and a security phone code). My bank/iDeal doesn't work in iframes either, but it simply knocks you out of the iframe when you are making your payment. After you're done (or cancel half-way through), it returns you to your website. This could easily work for PayPal as well. However, I figured I could do it for them when people click the PayPal link, with something like <base target=”_top” /> Just figuring out how to implement it into PayPal module, since i'm not very experienced with javascript/php Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 10, 2014 Share Posted April 10, 2014 Hi Dave. Not suggesting that you are doing anything illegal per se. Am saying that you will be violating PayPal's terms and conditions going this route. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now