Community Forums 

Main Content

continue shopping button returns user to unsecured page

    Mar 15 2016 00:32:08

    #1

    slsdoug

    Join date : 2008-09-18      Posts : 53

    I have my website set up where it uses https. However, if a customer clicks on 'continue shopping' button, they are warned that the page they are going to is unsecure. How to I set 'continue shopping' button to use https?
    Under 'continue shopping' setting, I use HTML form and have 'append cart content vars' checked.

    Doug D
    Smartlab Software




    Mar 15 2016 07:39:53

    #2

    Alan

    Join date : 2008-09-18      Posts : 2951

    If the return is after payment, you can select https in admin / cart setup / customize / return link.

    If is returning from the cart it is the return address specified in your form.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Mar 15 2016 15:08:51

    #3

    slsdoug

    Join date : 2008-09-18      Posts : 53

    'continue shopping' is returning from the cart. The return url is specified in returm= parameter. Unfortunately, http or https is not specified in returm= parameter; at least I could not find a way.

    Doug D
    Smartlab Software




    Mar 15 2016 17:15:57

    #4

    Alan

    Join date : 2008-09-18      Posts : 2951

    In a form
    <input name="return" type="hidden" value="https//www....." />

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Mar 15 2016 18:05:43

    #5

    slsdoug

    Join date : 2008-09-18      Posts : 53

    You are correct; the doc is not.
    I put in https:// in the return= and urlencoded it and it worked.
    The doc just shows the url sans https:// (or http://) for return=
    (under support > create buy now button > field names > return=
    Thanks Alan!!

    Doug D
    Smartlab Software




    Mar 15 2016 22:23:24

    #6

    Alan

    Join date : 2008-09-18      Posts : 2951

    I believe that once upon a time it had to be without http but that changed, possibly to achieve your objective.

    Documentation is not the cart's strongest feature.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Mar 15 2016 22:38:14

    #7

    slsdoug

    Join date : 2008-09-18      Posts : 53

    I tested three scenarios:
    If no http:// (or https://) is present, http:// is prepended to the return= url
    If like return=//www.mydomain.com form, then http:// is prepended, thus giving the url 4 ////. i.e. is does not work.
    if http:// or https:// prefixes the url then that is used.
    (e.g. return=https://www.mydomain.com)
    Note I used urlencode so the slashes, colon are changed to %3A and %2F respectively.

    Doug D
    Smartlab Software




    Mar 16 2016 07:29:22

    #8

    Alan

    Join date : 2008-09-18      Posts : 2951

    Sorry I wasn't specific. I meant without the http:// prefix, which the cart added automatically as you say. Mal might update https://www.mals-e.com/tpv.php?tp=2 (and https://www.mals-e.com/tpv.php?tp=1) if you give him another nudge.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/