Willy_g Posted December 27, 2006 Share Posted December 27, 2006 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 More sharing options...
kyotee Posted December 27, 2006 Share Posted December 27, 2006 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 More sharing options...
Willy_g Posted December 28, 2006 Author Share Posted December 28, 2006 May Help You Here Thank you! You solved my problem and cured my pains :D Now if I only could get the IPN Instant payment notification to catalog/checkout_success.php to work aswell... /Willy Link to comment Share on other sites More sharing options...
GrimmSpeed Posted May 17, 2007 Share Posted May 17, 2007 can someone tell me where the answer to this is? i tried clicking on the link above and it just brings to the main page of oscommerce Justin Link to comment Share on other sites More sharing options...
GrimmSpeed Posted May 17, 2007 Share Posted May 17, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.