New window opens up.. how can i stop that ?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   New window opens up.. how can i stop that ?
phptest
CZ Super Newbie
phptest has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 22, 2004
0.01 posts per day
Posts: 58
Points: 3,076
   
Hi,

I installed the ccart script which works fine... but every time you press the buy button a new window will open up wich loads the payal website..

you can test it by clicking [ Register or login to view links on this board.] dont mind any error that may occur on top of the page. scroll down and

press the buy button.

What should be modified within the script to just make the page load in the main page ?



Back to top Reply with quote
#2   re: New window opens up.. how can i stop that ?
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
It opens in a new window because it goes to a secure server to process the checkout. Look at the URL of the checkout page. See the [ Register or login to view links on this board. ] That means secure server.



Back to top Reply with quote
#3   re: New window opens up.. how can i stop that ?
phptest
CZ Super Newbie
phptest has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 22, 2004
0.01 posts per day
Posts: 58
Points: 3,076
   
Thanks for answering.

Does your answer mean it isnt possible to make that page load in the main page ?

(not sure, but i think i have been redericted on other websites to secure servers many times without opening a new window ?)



Back to top Reply with quote
#4   re: New window opens up.. how can i stop that ?
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" Target="_Blank">


Take out the Target="_blank".

That will make the page open in the same WINDOW your page was sitting in before they clicked the Paypal button. In other words, your site goes away and Paypal's site replaces it. You can't, however, make Paypal's page load inside your main page.


Back to top Reply with quote
#5   re: New window opens up.. how can i stop that ?
phptest
CZ Super Newbie
phptest has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 22, 2004
0.01 posts per day
Posts: 58
Points: 3,076
   
Hi i removed the part you suggested but there is no difference.

I send you the url in a PM so you can check and see that i removed the words you suggested.



Back to top Reply with quote
#6   re: New window opens up.. how can i stop that ?
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
If it's the same URL you posted above, the target code is still in there. If it's a different URL, send it to me in PM if you want.



Back to top Reply with quote
#7   re: New window opens up.. how can i stop that ?
phptest
CZ Super Newbie
phptest has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 22, 2004
0.01 posts per day
Posts: 58
Points: 3,076
   
Eh.. i did send that PM to myselsf at first icon_smile.gif

Did send it again in a PM message .. did you get it ?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum