Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default How to open PayPal checkout in new window

    Hi folks,

    I've tried researching this on the forums and it seems that several people have asked this, but noone has been able to provide a real useful answer.

    I've done a few un-sucessful experiments with tpl_checkout_confirmation_default.php

    Can any of you wizzards toss me a bone here and explain how to make this happen? Please?

    Thank you much,

    Kiddo

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How to open PayPal checkout in new window

    why would you want to do this,
    after payment is recieved then your customer will have 2 open windows to your site
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: How to open PayPal checkout in new window

    Becaue my client demands it.

    Do you know how to do it?

    I'll PayPal $10.00usd to the first person who can post a real working answer.

    Thanks Much;

    Kiddo

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How to open PayPal checkout in new window

    I guess my point is have you tried to find out what the purpose is,

    sometimes part of a designers job is education,
    once again when the customer is sent back from paypal you will have 1 open window set to checkout confirm

    and another opened to checkout success......

    I can honestly say I have never thought about it, but best of luck to you,
    I would suggest that you p[ost in the commercial help wanted forum.
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: How to open PayPal checkout in new window - answer

    in file tpl_checkout_confirmation_default.php line 164,

    echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" target="_blank" onsubmit="submitonce();"');

    This is a parameter to the zen_draw_form function defined in html_output.php

    I am not sure why after a number of people have asked this for several months no one has been able to answer with anything other than "Why?"

    If your application has special needs to do this, here is the answer.

    Kiddo

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How to open PayPal checkout in new window

    and as usual no one can ever give a reason other than a client wants it and as usual none have the balls to stand up and ask a client, or better yet tell a client that its a stupid idea...
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: How to open PayPal checkout in new window

    Is not the whole point of open source the freedom to make it do what I want and not what someone else thinks I should do?

    I am sorry you think I am stupid, forgive me for not writing a lengthy essay about why this function is desirable for me.

    You have an impressive number of posts Mr. Merlin. I hope all of them do not focus on putting down newbies.

    Kiddo

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to open PayPal checkout in new window

    This would most likely cause a lot of problems in the long run ...

    Customer goes to checkout ... then goes to PayPal ... then comes back to site ... all in the same window ...

    If you use a separate window and sessions are lost, etc. this can cause a lot of issues ...

    Any particular reason to want to do this, by your client? I don't see the benefit other than another way to cause issues on checkout ...

    Zen Cart is not designed for this behavior and I cannot begin to guess at issues that might arise from attempting this and caution against it without a great deal of testing etc. and even then I would be terribly leary of doing this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How to open PayPal checkout in new window

    You have an impressive number of posts Mr. Merlin. I hope all of them do not focus on putting down newbies.
    Sorry I am not as loquacious as Linda,
    This is what I was refering to earlier,
    My statement about teaching your client wasnt directed at you in particular, but I see it here, WAY TO OFTEN,

    People. you are entrusted to do a job,
    If you wanted a house built and you told a contractor to do something that was WAYYYYYY off the wall,

    or potentialy cause problems wouldnt you want that builder to tell you, Hey this isnt a good idea,

    and educate you as to why.

    thats the point I was trying to make,
    Zen cart PCI compliant Hosting

  10. #10
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: How to open PayPal checkout in new window

    OK, OK, I bite myself in foot. I explain...

    I have client with two websites, both originally setup as frames site. I know css is better, but I'm not responsable for rebuilding whole sites to accomodate shopping carts.

    I see error of my way using _blank in code. I see this is not what I mean first time I test. I change to correct _parent. This is for busting-out of frame. To do this here allows store customer to be warm and fuzzy with all the nice ssl bells happy.

    To continue the flow, when the sucess page is called and the customer is back on the site, along with the thank-you-for-your-purchace message, it also say in big friendly letters, please click here to return to the main website. This click take then right back to where they need to be. And if not, is all ok cuz sale has gone through anyway.

    I check with several browsers that all works well and that all backend and emails are set right.

    Is reasonable workaround for having to integrate into site where frames are not yours able to control.

    To use your builders anology, I do not see sense in tearing down whole house to add a new porch. New porch has to be made to work into existing structure.

    Anyway, having to take long quiet walk through code to see how to do this make me better zenner in long run.

    I hope not to peeoff too many people here. Someday I may REALLY need help :)

    Kiddo

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to open a page in a new window
    By MyGreyGoose in forum General Questions
    Replies: 3
    Last Post: 23 Jul 2007, 04:47 PM
  2. How to Open Paypal in a new window after checkout confirmation?
    By wildgarden in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Jun 2006, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg