Forums / Built-in Shipping and Payment Modules / How do I get my checkout to use HTTPS by default

How do I get my checkout to use HTTPS by default

Views: 1,315

Results 1 to 10 of 10
1 Aug 2012, 10:46 PM
#1
anandbir avatar

anandbir

New Zenner

Join Date:
May 2012
Posts:
12
Plugin Contributions:
0

How do I get my checkout to use HTTPS by default

Hi,

I have Virtualmart Gateway on my Zencart installation enabled.

The guys at VirtualMart are asking for https:// url as default for gateway processing. I have SSL installed and enabled on the dmoain with dedicated IP. If I type https://domainname.com it works but if I dont type https:// it goes to http:// by default and tries to get the credit card information without using https://

Any help in this matter is highly appreciated.

Thanks,

1 Aug 2012, 11:24 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: How do I get my checkout to use HTTPS by default

Hi @anandbir and welcome to the Zen Cart forum. Here's a tutorial about using SSL and Zen Cart.

http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2012, 12:04 AM
#3
anandbir avatar

anandbir

New Zenner

Join Date:
May 2012
Posts:
12
Plugin Contributions:
0

Re: How do I get my checkout to use HTTPS by default

Thanks for the link, but I have already setup this info under configration file...

The page still goes to – http://domain-name.com/index.php?main_page=checkout_payment instead https://

2 Aug 2012, 4:39 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: How do I get my checkout to use HTTPS by default

From the file includes/configure.php, please post the lines that set HTTPS_SERVER and ENABLE_SSL.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2012, 3:07 PM
#5
anandbir avatar

anandbir

New Zenner

Join Date:
May 2012
Posts:
12
Plugin Contributions:
0

Re: How do I get my checkout to use HTTPS by default

define('HTTP_SERVER', 'http://partybonanza.ca');
define('HTTPS_SERVER', 'https://partybonanza.ca');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

2 Aug 2012, 3:18 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: How do I get my checkout to use HTTPS by default

OK. This could be a bug in your template. Try switching back to the default template, put an item in your cart and see if the link to checkout is https.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Aug 2012, 7:25 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: How do I get my checkout to use HTTPS by default

If it's not the template, then who's your hosting company? Looks like maybe they don't know how to configure SSL properly.
Netsol is very bad for that.

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

3 Aug 2012, 3:07 AM
#8
anandbir avatar

anandbir

New Zenner

Join Date:
May 2012
Posts:
12
Plugin Contributions:
0

Re: How do I get my checkout to use HTTPS by default

Thanks for all your help, it was a small bug in the template which has been fixed now.

22 Aug 2012, 8:17 PM
#9
gokeypa avatar

gokeypa

New Zenner

Join Date:
Sep 2011
Posts:
86
Plugin Contributions:
0

Re: How do I get my checkout to use HTTPS by default

Can someone tell me what the small bug was in the their template? I am have the same issue with my shopping cart and I am wondering if the bug is a common fix that I can try and find.

Thanks

22 Aug 2012, 10:26 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: How do I get my checkout to use HTTPS by default

Dunno exactly, but the way I'd find out is by using a text-comparison tool like WinMerge to quickly compare the files in the template against the files in the original Zen Cart template_default. Then fix whatever is busted.

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