Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Open paypal in new blank window?


Willy_g

Recommended Posts

I'm having an osCommerce shoping cart in an iframe but paypal needs to be opened in a new window with paypal adress in the adress bar to function properly, security code will be wrong otherwise :(

 

I have tried to change paypal.php from

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

to

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr target=paypal';

and

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr target=_blank';

but it opens in the iframe anyway or not at all (page can not be found).

Any idea how to fix this matter?

 

/Willy

Link to comment
Share on other sites

I'm having an osCommerce shoping cart in an iframe but paypal needs to be opened in a new window with paypal adress in the adress bar to function properly, security code will be wrong otherwise :(

 

I have tried to change paypal.php from

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

to

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr target=paypal';

and

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr target=_blank';

but it opens in the iframe anyway or not at all (page can not be found).

Any idea how to fix this matter?

 

/Willy

 

May Help You Here

Link to comment
Share on other sites

  • 4 months later...

ok i found the code for it to open in the paypal screen in a new window vs. just in the iFRAME.

 

now on to the next problem...when paypal is done and redirects back to my site it goes to just the content that is in the iframe(oscommerce stuff) and not my whole site that is the parent of the iframe with osc in it. how can i make paypal redirect to my whole site and not just the iframe?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...