Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent help - opening paypal in a new window


ramsydney

Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...
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 by dadsfunpage.com
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...