Post by Bebe » Sun Nov 11, 2007 10:03 pm

I am new using v0.7.7
Can someone tell me how to add the 'Basket' and the 'Checkout' button to SSL?
My 'Account', 'Login' and 'Checkout' as well as my admin section are working properly under ssl.
I have searched the forums and have not found the answer.
Any assistance is appreciated.
Thank you, Bebe

Newbie

Posts

Joined
Sat Nov 10, 2007 9:34 pm

Post by Bebe » Mon Nov 12, 2007 12:00 pm

I have found a temporary fix by removing the checkout button.
Customer is still able to view basket, update basket and continue shopping.
To checkout they would use the top 'Checkout' tab which ensures SSL checkout.
I am still interested in replacing the checkout button to its original location and welcome any additional suggestions or better fixes.
Thank you, Bebe

Newbie

Posts

Joined
Sat Nov 10, 2007 9:34 pm

Post by Bebe » Thu Nov 22, 2007 6:45 am

This is how I set up my site for my customers to be able to go to the 'Account', 'Log In' and 'Checkout' areas of your site via https (SSL), :

Go to .... shop/config.php on line 6 and type in the exact location to your SSL site
define('HTTPS_SERVER', 'https://www.yoursite.com/shop/');

Go to .... shop/admin/config.php on line 8 type in the exact location to your SSL site
define('HTTPS_SERVER', 'https://www.yoursite.com/shop/admin/');

Private Standard SSL is normally set up for either https:// or https://www so be sure to type in the correct address above to indicate with or without the 'www'.
Replace 'yoursite' with your website name
If you changed your 'shop' folder to a different name, then you need to also adjust this accordingly.

Log in to your shop administration area using https:
Go to .... admin / configuration / settings and under the first tab 'Shop' click yes to 'use SSL'

I have not been able to figure out the button checkout as written in first post. This is the button that exists after adding product to cart where you are able to either update, continue shopping or checkout. If the customer goes to checkout via this bottom checkout button, it does not take them to the secure page. This button remains removed on my site where the customer would have to use the top tab to checkout which ensures they checkout on a SSL page.

This method works for me and I am no expert but as with all shared information, please use at your own risk.

Thank you, Bebe

updated Dec09,2007: I am using http://www.opencart.com 0.7.7, linux, PHP 5+, Dedicated IP, Private SSL Certificate (not shared SSL).
Last edited by Bebe on Mon Dec 10, 2007 3:15 pm, edited 1 time in total.

Newbie

Posts

Joined
Sat Nov 10, 2007 9:34 pm

Post by SiteE@se » Wed Nov 05, 2008 7:58 am

Bebe wrote:
I have not been able to figure out the button checkout as written in first post. This is the button that exists after adding product to cart where you are able to either update, continue shopping or checkout. If the customer goes to checkout via this bottom checkout button, it does not take them to the secure page. This button remains removed on my site where the customer would have to use the top tab to checkout which ensures they checkout on a SSL page.
Not sure if this has ever been answered elsewhere (searched but couldn't find) .....

In catalog/controller/cart.php replace:

Code: Select all

$view->set('checkout', $url->href('checkout_shipping'));
with:

Code: Select all

$view->set('checkout', $url->ssl('checkout_shipping'));

Chris @ SiteE@se Web Design


Active Member

Posts

Joined
Mon Dec 17, 2007 7:40 am
Location - UK

Post by Qphoria » Wed Nov 05, 2008 12:00 pm

SiteE@se, is this for 0.7.7? 0.7.8? or 0.7.9?

This is a year old thread and I think this was all fixed in 0.7.8 but maybe not. Just want to make sure its already been fixed in 0.7.9

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bruce » Wed Nov 05, 2008 12:48 pm

Bebe wrote: I am new using v0.7.7
Can someone tell me how to add the 'Basket' and the 'Checkout' button to SSL?
My 'Account', 'Login' and 'Checkout' as well as my admin section are working properly under ssl.
I have searched the forums and have not found the answer.
Any assistance is appreciated.
Thank you, Bebe
LOL Q, you should never have teased me for not reading  :D
Last edited by bruce on Wed Nov 05, 2008 12:51 pm, edited 1 time in total.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Qphoria » Wed Nov 05, 2008 1:32 pm

actually im gonna tease you more now.

I asked siteease not bebe.  the reason being becaude siteease created a contrib for 078 and I can only assume he is using 078 still. but if that is still a bug in 078 then I want to make sure its not in 079 but if siteease went back to 077 then he's  crazy and posting in old threads like a crazy person

see u have to read more than just one thread at a time ;)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SiteE@se » Thu Nov 06, 2008 6:37 am

Qphoria wrote: I asked siteease not bebe.  the reason being becaude siteease created a contrib for 078 and I can only assume he is using 078 still. but if that is still a bug in 078 then I want to make sure its not in 079 but if siteease went back to 077 then he's  crazy and posting in old threads like a crazy person
The bug is present in 0.78, which is what I'm using, so a fix for 0.79 would be useful and greatly appreciated by us crazy folk out here!  ::)

Chris @ SiteE@se Web Design


Active Member

Posts

Joined
Mon Dec 17, 2007 7:40 am
Location - UK

Post by hm2k » Thu Nov 06, 2008 8:02 am

Fixed on the fly in the SVN r205.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Qphoria » Thu Nov 06, 2008 10:31 am

hm2k wrote: Fixed on the fly in the SVN r205.
You're such a ninja!  ;D
  http://i95.photobucket.com/albums/l123/ ... battle.gif[/img]
Last edited by Qphoria on Thu Nov 06, 2008 10:32 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 8 guests