close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Going from HTTP to HTTPS on the same site?

Thread began 9/02/2009 10:46 am by Peterson Design Studio - jefferis | Last modified 10/26/2011 12:29 pm by toms016390756 | 2748 views | 6 replies |

Peterson Design Studio - jefferis

Going from HTTP to HTTPS on the same site?

Hi folks, Just looking for a bit of information for a client who has a paypal checkout, but was recommended to get an SSL and Https for the cart pages. I was just wondering what the procedure is for changing links, linking, modifying the existing eCart, in order to acknowledge the new directory or secure pages? Is this something that should be accomplished with htaccess instead and a rewrite ?? If so, how? And will it break the existing eCart's coding?
Thanks
Jeff

Sign in to reply to this post

Jason ByrnesWebAssist

This depends on whether is a shared SSL Certificate or not.

If the only thing that changes is going from http to https, then you just need to change the checkout behavior on the cart page. Edit the redirect from checkout.php to checkout.php


if is is a shared certificate, then it will be a bit more involved, see the "Secure Socket Layer (SSL) and eCart sites" in the How To Section of the eCart support page:
ecart/

Sign in to reply to this post

morc.mzw383871

How to have the entire site on https?

This post has been deleted.

stuff223820

how does this get changed for the Powerstore3 set up?

Sign in to reply to this post

Jason ByrnesWebAssist

on the cart.php page, look for the following code:

php:
<?php

//WA eCart Redirect Check Out
if (isset($_POST["WA_Store_Cart_Checkout"]) || isset($_POST["WA_Store_Cart_Checkout_x"]))     {
  
$Redirect_redirStr="checkout.php";
  if (
$Redirect_redirStr != "")     {
    if (isset(
$_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "")     {
      if (
strpos($Redirect_redirStr"?") < 0)     {
        
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
      }
      else     {
        
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
      }
    }

    
$WA_Store_Cart->redirStr $Redirect_redirStr;
  }
  
$WA_Store_Cart->cartAction "Checkout";
}
?>




and change the line:
$Redirect_redirStr="checkout.php";


to a fully qualified link to the HTTPS server:
$Redirect_redirStr="https://www.mydomain.com/checkout.php";

Sign in to reply to this post

nclark363182

Originally Said By: Jason Byrnes
  This depends on whether is a shared SSL Certificate or not.

If the only thing that changes is going from http to https, then you just need to change the checkout behavior on the cart page. Edit the redirect from checkout.php to checkout.php


if is is a shared certificate, then it will be a bit more involved, see the "Secure Socket Layer (SSL) and eCart sites" in the How To Section of the eCart support page:
ecart/  



I cant find any documentation on switching to a Shared SSL. Where could I find that?

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not sure I follow, using a shared SSL Certificate is something your host will implement. the host sill install the SSL Certificate on your server.

What specific information are you looking for?

Sign in to reply to this post

toms016390756

If it's a shared hosting account then the web hosting company will have to install your ssl.


Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...