Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Paypal & iFrames Issue

    Hello,

    Basically ive had to put my zen cart into an iframe (not my choice but it had to be done) but found that paypal does not work with it so im wanting to get around this by when the user clicks "confirm the order" it opens a new window which paypal can load.

    Can anyone instruct me how to make this happen?

    OR if anyone know how to make paypal work in a frame that would be even better!

    Thanks

    steve

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Is totally impractical to even think about.

    Why do you feel it was necessary to use the iFrame?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Hello,

    Its because the woman im helping build it for wants it running in a window with scrollers in the centre of the page. So thats the only wai ive found to do it. Everything else works perfectly apart from the Paypal option.

    Do you know how to make the confirm order open in a new window please?

    Thanks

    steve

  4. #4
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Hello,

    Or even if when a user clicks "add to cart" it opens a new window for them to go through the checkout process??

    Can anyone help?

    Thanks

    steve

  5. #5
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Hello,

    Thought i better try and give some more info, basically im wanting it to work like it dones on the product descriptions when you click "Larger image" it pops up in a new window. Id like that to happen when you click "add to cart"

    Or ideally when you click "confirm order" as i dont want them to leave the frame until they actually get passed to paypal but if thats not possible thats fine.

    Some input on how to get a popup window to work fromthe "add to cart" or "confirm order" would be a great help!

    Thankyou

    steve

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Paypal & iFrames Issue

    Have not used a Iframe for ??? but you might start here as you will need to alter what happens /includes/modules/checkout_process.php

  7. #7
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Hello all,

    Managed to fix this in the end and get paypal working by making the "confim order" button open a new window, luckily it still stays in the same session so all is well!

    all i did was add target="_blank" to the following code:

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

    in the tpl order confirmation file

    Hope this helps anyone else that may have the same issue

    Thanks

    steve

  8. #8
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Thanks for this thread.

    The reason my site contains frames is that I'm testing a different domain name and I have GoDaddy fowarding with masking turned on (needed because Google will disable your ad if the url of your landing page doesn't match the display url of your ad).

    The forwarding is done with masking.

    But some of my customers have been reporting an error "Sorry, you last action could not be completed" when they try to submit the order and go to Paypal.

    I found a thread that says this started happening when Paypal put in a security patch.

    I tried it myself with Firefox 3.0.12, going to my site by my forwarded domain, but the problem doesn't happen for me.

    I can only assume the reason it is happening for some customers and not others is that it is a combination masked domain/browser issue.

    I'm going to implement the suggestion of having it open in a separate window.

  9. #9
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    Well, I implemented opening in a separate window, but that doesn't seem to be the best solution.

    It means that when the visitor finishes with Paypal or clicks Cancel and Return to Merchant, they now have two windows open to your site. I can see this could get really confusing.

    Another cause of the "sorry, your last action cannot be completed" error is when the visitor has cookies disabled. I was able to recreate the error when I disabled my cookies. BUT when I went directly to Paypal and logged in, I also got an error: "We are sorry this page cannot be displayed."

    My customer said that got the error when going to Paypal from my site, but were able to log in directly. This makes me think the problem for them was not cookies but was frames (even though I can't recreate the frame problem).

    Hmm...just not sure how to fix this gracefully.

  10. #10
    Join Date
    Oct 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Paypal & iFrames Issue

    the solution so far in this particular case is to make the "cofirm order" button open a new, seperate window - and i would have to agree with susb8383 - it's not the best solution. in fact, it's not a solution - just a workaround.

    the strange thing is - paypal works fine for many people on my site - it's only SOME people that get the described error above...so i'm not sure at this point (feb 2010) that the problem lies in the frame errors from http://community.contractwebdevelopm...t-be-completed .

    just my thoughts...

    there has got to be a way to make it function for everyone...is it a browser incompatability? more research (and more zen-cart forum searches!)!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. iframes
    By antioch in forum General Questions
    Replies: 8
    Last Post: 12 Jan 2012, 12:26 AM
  2. 3rd Party Gateways & iFrames
    By wolff in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 5 Feb 2010, 07:47 PM
  3. Digital Download & PayPal Issue
    By russellmcox in forum General Questions
    Replies: 4
    Last Post: 18 Jul 2009, 04:53 PM
  4. Paypal pro issue date & number activation payment page
    By jackkaten in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jul 2008, 08:28 PM

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