close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

adding ssl without messing things up

Thread began 8/13/2010 11:16 am by watercolor346374 | Last modified 9/02/2010 4:21 pm by Jason Byrnes | 1264 views | 11 replies |

watercolor346374

adding ssl without messing things up

Hi,
I need to do the following:
From the cart page when the customer clicks checkout I want the check out page to be checkout.php. Then when they fill out the form they will go to the confirm which I want as an https page. Is there anything special that I need to do in the coding? I assume that this will change my wacart folder and that will have to be reuploaded...anything else to look out for?
Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

all you need to do is change the checkout behavior on the cart page to point to:
chakout.php

Sign in to reply to this post

watercolor346374

ssl

So, I do that in my ecart object and then make sure I upload the files that pertain to the ssl and the waCart folder? Will I have to reset the buttons?

Sign in to reply to this post

Jason ByrnesWebAssist

nothing changes in the cart object, only in the cart.php page.

Sign in to reply to this post

watercolor346374

ssl

I went into my behaviors on my detail page, changed the button add to cart to:
cart.php
I have the site in test under karenshotz.com/test/ filename
After I changed the redirect for the button, I saved the file then I went back in to the button behavior and it had not changed...it was still cart.php
Also, is there any code that I need to add to the pages indicating the https? How does the button know the page is https?

Sign in to reply to this post

Jason ByrnesWebAssist

the change should not be done on the detail page.

it should be done on the cart page.


on the cart page, double click on the eCart Checkout server behavior.

Set the checkout button redirect to the https address to the cart page.


SSL has no bearing on the page itself, only on the port used to access the page.

Sign in to reply to this post

watercolor346374

ssl

do I need to do this on the checkout, and confirm pages? I tried to do it on the checkout page so that when the checkout button is checked, the confirm is ssl. There was not button behavior.

Sign in to reply to this post

Jason ByrnesWebAssist

no, you only need to change the cart page.

Sign in to reply to this post

watercolor346374

ssl

Hi Jason,
I have several times, gone into the cart.php page put the full address in for my ssl, uploaded the page and it continues to stay in the http format...I go and check the page in dreamweaver and the behavior is back to checkout.php.
Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

the code for the checkout redirect will loook like:

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";
}
?>




once you find this code block, locate the following line:
$Redirect_redirStr="checkout.php";


and add the https url.

Sign in to reply to this post
loading

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