Zen Cart Logo
Forums / Addon Payment Modules / Google Checkout not returning to SSL page?

Google Checkout not returning to SSL page?

Locked

Views: 4,140

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
22 Jul 2008, 1:36 AM
#1
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

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
:cry:

22 Jul 2008, 7:11 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Google Checkout not returning to SSL page?

If setup correctly all store pages are http and ZenCart auto switches to https for only specific pages

22 Jul 2008, 8:03 PM
#3
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

Re: Google Checkout not returning to SSL 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. . .

22 Jul 2008, 8:48 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Google Checkout not returning to SSL page?

digitaltreadle:

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.

22 Jul 2008, 9:08 PM
#5
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

Re: Google Checkout not returning to SSL 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.
:blink:

Any ideas?

22 Jul 2008, 11:11 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Google Checkout not returning to SSL page?

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

23 Jul 2008, 5:51 PM
#7
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

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!

23 Jul 2008, 6:21 PM
#8
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout not returning to SSL page?

digitaltreadle:

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.
:blink:

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.

23 Jul 2008, 8:30 PM
#9
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

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.

23 Jul 2008, 8:46 PM
#10
digitaltreadle avatar

digitaltreadle

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

Re: Google Checkout not returning to SSL page?

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

18 Sep 2008, 3:25 PM
#11
emist avatar

emist

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: Google Checkout not returning to SSL page?

Update on the no-redirect issue:

It seems i'm timing out for some reason.

I've configured the htaccess files for htaccess basic auth and have tried it without also. Neither way works. Although the callback url seems to work(inventory decreases, etc).

The google page displays "Thanks [Customer Name], here's how to access your purchase." While the address bar reads:

"https://checkout.google.com/authorizationTimeout?t=[numbers]"

Any help is appreciated, thanks.

19 Sep 2008, 1:36 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Google Checkout not returning to SSL page?

"https://checkout.google.com/authorizationTimeout?t=[numbers]"
Being this is at a site other than your Zen Cart - It seems that it would be an issue to open with them

21 May 2009, 4:35 PM
#13
zcnb avatar

zcnb

Zen Follower

Join Date:
Jun 2008
Posts:
338
Plugin Contributions:
0

Re: Google Checkout not returning to SSL page?

digitaltreadle:

I guess the question is: how do you set the checkout_success page to SSL?:cry:
I am having a similar problem.

I finally got to install Google Checkout on my site. Everything seems to have been going fine, EXCEPT for the last step - returning to the download page at my site.

It seems that the problem is either with Google directing to http (instead of https) or not using session ID at all :huh: -- or both! :eek:

I contacted Google's Merchant Support, but in the meanwhile I am just curious: Has any Zenner managed to make the Google Checkout module (v1.4.7) work for digital delivery (aka "downloadables")?

18 Jun 2009, 12:20 AM
#14
zcnb avatar

zcnb

Zen Follower

Join Date:
Jun 2008
Posts:
338
Plugin Contributions:
0

Re: Google Checkout not returning to SSL page?

Answering myself, for the record and for the benefit of all:

zcnb:

Has any Zenner managed to make the Google Checkout module (v1.4.7) work for digital delivery (aka "downloadables")?
The answer is YES. I managed to do so after changing the .htaccess Basic Authentication Mode from 'True' to 'False' (Admin > Modules > Payment > GoogleCheckout > [+install]).

Hope this helps someone.