ramsydney Posted November 3, 2006 Share Posted November 3, 2006 I have set up my shopping cart using frames BUT I've just discovered that Paypal doesn't like frames. When I get to the paypal "pay" page it instantly comes up with a "your session has timed out, please log in again" error. On the Paypal website they say that Paypal must open in it's own window (with it's own URL in the address bar) otherwise this error appears. How do I adjust the PHP code so the Paypal page opens in a new window (target="new") and what page(s) need adjusting? Sorry, I'm not very proficient with PHP coding. Quote Link to comment Share on other sites More sharing options...
dadsfunpage.com Posted December 20, 2006 Share Posted December 20, 2006 (edited) I have set up my shopping cart using frames BUT I've just discovered that Paypal doesn't like frames. When I get to the paypal "pay" page it instantly comes up with a "your session has timed out, please log in again" error. On the Paypal website they say that Paypal must open in it's own window (with it's own URL in the address bar) otherwise this error appears. How do I adjust the PHP code so the Paypal page opens in a new window (target="new") and what page(s) need adjusting? Sorry, I'm not very proficient with PHP coding. I'm a bit new at this too, but hit the same problem. My work around until I find something better is to open the new window when they enter the store. From there when they check out to paypal it will already be in a new window rather than inside a frame. I think the problem may be worse than just not checking out. Today I was testing this since I just discovered it and added a new customer account and verified that at checkout the paypal gave me the error message you had above. About 15 min later a real customer came in and made a purchase without being forced to add his own account. He actually checked out and paid via paypal and then confused came back in to set up an account to get his download file he bought. I think it left my session open when the checkout process failed - and then he came in on my session somehow. This concerns me as I see the SQL table indexes for custemer id in the address_book table were off. I can't confirm this caused the problem. I've added in other mods that may have created it too, but you may want to keep an eye on the sql table indexes for customer id in the custmers and address_book tables as mine didn't match up. Good luck! Edited December 20, 2006 by dadsfunpage.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.