WHMCS AuthAuth is not working (https://docs.whmcs.com/AutoAuth)
My Code: (auth.php)
<?php
$email = "******@galactic.host";
$goto = '../build.php';
/**
* Define WHMCS url and AuthKey from confguration.php
*/
$whmcsurl = "https://www.galactic.host/billing/dologin.php";
$autoauthkey = "*****"; //$autoauthkey from configuration.php
$timestamp = time(); //Get current timestamp
$hash = sha1($email . $timestamp . $autoauthkey); //Generate Hash
$email =
/**
* Generate AutoAuth URL & Redirect
*/
print("Attempting session handshake.. ");
$url = $whmcsurl . "? email=".urlencode($email)."×tamp=$timestamp&hash=$hash&goto=" . urlencode($goto);
header("Location: $url");
print("Tele: $url ");
exit;
?>
Nothing is happening... The page stays blank, no errors, no redirect. any ideas?
My Code: (auth.php)
<?php
$email = "******@galactic.host";
$goto = '../build.php';
/**
* Define WHMCS url and AuthKey from confguration.php
*/
$whmcsurl = "https://www.galactic.host/billing/dologin.php";
$autoauthkey = "*****"; //$autoauthkey from configuration.php
$timestamp = time(); //Get current timestamp
$hash = sha1($email . $timestamp . $autoauthkey); //Generate Hash
$email =
/**
* Generate AutoAuth URL & Redirect
*/
print("Attempting session handshake.. ");
$url = $whmcsurl . "? email=".urlencode($email)."×tamp=$timestamp&hash=$hash&goto=" . urlencode($goto);
header("Location: $url");
print("Tele: $url ");
exit;
?>
Nothing is happening... The page stays blank, no errors, no redirect. any ideas?
