Re-direct to SSL Payment page

Discussion in 'Payment Systems' started by fitnessclubprofits, Jul 15, 2010.

  1. fitnessclubprofits

    fitnessclubprofits New Member

    Joined:
    Apr 16, 2010
    Messages:
    4
    Hi,

    I was wondering how to re-direct the user to the payment page with the https:// when they want to pay for the subscription. I have the ssl certificate setup but I can't figure out how to automatically re-direct them.

    Thanks.
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Logged on as admin ,go to setup/configuration and set the Secure Root URL to https://
  3. fitnessclubprofits

    fitnessclubprofits New Member

    Joined:
    Apr 16, 2010
    Messages:
    4
    thank you.

    It didn't work after I made that change until I restarted the browser.
  4. CrackBaby

    CrackBaby aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    154
    I set it up everything in the amember folder is redirected using SSL. I used an .htaccess file
    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    

    On the directories that do not require SSL I used another .htaccess file

    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}

Share This Page