Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Google Checkout not returning to SSL page?

    My store is installed in a secure environment (SSL certificate) with no issues at the moment. Because I need to use Google Translate on certain of the pages in my site (ie: success page after Google Checkout), I need to be able to display those pages as non-secure. Is there a way to display certain pages as being secure and others as being non-secure?

    helppppp

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make just certain pages secure (ssl) on my site

    If setup correctly all store pages are http and ZenCart auto switches to https for only specific pages
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I make the Google Translate sidebox work on both secure and nonsecure page

    Yes, that's a great Zen Cart feature: that the places on the site that collect personal info are auto-directed to secure https!

    A large part of my store is dedicated to digital downloads. I am using Google Checkout exclusively which is really working out well so far. Problem is that when the customer is returned from Google Checkout to the store to pick up their download, the "success" page with the download on it is not secure. I'm wondering if I can redirect that page to https with a bit of php (or however).

    I saw a post on the forum that suggested this script:

    //force redirect to secure page
    if($_SERVER['SERVER_PORT'] != '443') { header('Location:
    https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
    exit(); }

    But I can't get it to work. When I include this script at the top of the page, all the content disappears.

    Kind of frustrating. . .

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How do I make the Google Translate sidebox work on both secure and nonsecure page

    Quote Originally Posted by digitaltreadle View Post
    A large part of my store is dedicated to digital downloads. I am using Google Checkout exclusively which is really working out well so far. Problem is that when the customer is returned from Google Checkout to the store to pick up their download, the "success" page with the download on it is not secure. I'm wondering if I can redirect that page to https with a bit of php (or however).
    That sounds like either a bug with Google Checkout or maybe you've given Google Checkout the wrong URL to return to.
    That's what you should be fixing, rather than trying to fudge your Zen Cart site to operate differently by adding extra PHP redirects to it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I make the Google Translate sidebox work on both secure and nonsecure page

    Thanks for your response!! This has been a little frustrating.

    Google Checkout setup asks for an API callback URL, which is the responsehandler.php file. I gave them an https path to this file (an https version is required in the 'live' version of Checkout). So far I haven't been able to find where they might ask for a path to the "success" page for downloads. Interesting, because after I make purchases in the sandbox environment, there is a clear link that takes me directly to the "success" page with the downloads on it--no glitches. So somewhere it's being told this path. But where, I don't know.


    Any ideas?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How do I make the Google Translate sidebox work on both secure and nonsecure page

    Might be worth asking that question in the Google Checkout support thread or their support site.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Google Checkout not returning to SSL page?

    I have just done that. I will post their reply here when I get one. . . Thanks for your help!

  8. #8
    Join Date
    Dec 2005
    Location
    Box Elder, SD
    Posts
    373
    Plugin Contributions
    0

    Default Re: How do I make the Google Translate sidebox work on both secure and nonsecure page

    Quote Originally Posted by digitaltreadle View Post
    Thanks for your response!! This has been a little frustrating.

    Google Checkout setup asks for an API callback URL, which is the responsehandler.php file. I gave them an https path to this file (an https version is required in the 'live' version of Checkout). So far I haven't been able to find where they might ask for a path to the "success" page for downloads. Interesting, because after I make purchases in the sandbox environment, there is a clear link that takes me directly to the "success" page with the downloads on it--no glitches. So somewhere it's being told this path. But where, I don't know.


    Any ideas?
    The page it returns to is indicated in the setup for GCO on your Admin->Modules->Payment->GoogleCheckout in the 2nd to last entry. The path is defined inside your zen cart for "checkout_success" or whatever you enter. Sorry, I don't know how to tell it to use or not use SSL for your specified page.

  9. #9
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Google Checkout not returning to SSL page?

    I saw that field at the second to the bottom and fiddled with it a bit. I tried putting an https path in there just to see what would happen, but no luck.

    It looks Google's 'Google Checkout for Zen Cart' forum is in limbo at the moment because, according to one post on the forum, Google has temporarily discontinued the funding for additional development of the GCO plug-in . . . . hopefully that's being resolved.

  10. #10
    Join Date
    Jul 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Google Checkout not returning to SSL page?

    I guess the question is: how do you set the checkout_success page to SSL?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Google Checkout returning info to zen after purchase.
    By gloerick in forum General Questions
    Replies: 1
    Last Post: 19 Nov 2010, 12:57 AM
  2. Google Checkout returning Whoops! Your session has expired.
    By g3steve in forum Addon Payment Modules
    Replies: 4
    Last Post: 14 Jul 2009, 06:36 PM
  3. Returning Customer Login foes to Store not checkout page
    By ethical in forum General Questions
    Replies: 4
    Last Post: 15 May 2009, 08:25 PM
  4. Google Checkout logo not showing on checkout page
    By mmambou in forum Addon Payment Modules
    Replies: 23
    Last Post: 2 Mar 2009, 04:59 PM
  5. Replies: 1
    Last Post: 7 May 2008, 11:13 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR