There are three pages where the code will need to be updated. The first page is going to the be the pp_confirm page.
update line 400 to look like this:
$_SESSION["UserRandomPassword"] = "".(WA_RandomPassword(20, true, true, true, "")) ."";
update what was originally on lines 539, 540, 541 to be like this:
$WA_fieldNamesStr = "UserEmail|UserPassword|UserFirstName|UserLastName|UserCity|UserState|UserZip|UserVerificationCode|UserIP|UserPhone|UserCountry|UserAddress|UserAddress2";
$WA_fieldValuesStr = "".((isset($_POST["email"]))?$_POST["email"]:$row_WAATKusers['UserEmail']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["UserPassword"]:$row_WAATKusers['UserPassword']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["firstname"]:$row_WAATKusers['UserFirstName']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["lastname"]:$row_WAATKusers['UserLastName']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["shipping_city"]:$row_WAATKusers['UserCity']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["shipping_state_province"]:$row_WAATKusers['UserState']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["shipping_postcode"]:$row_WAATKusers['UserZip']) ."" . "|" . "".((isset($_SESSION["UserRandomPassword"]))?$_SESSION["UserRandomPassword"]:"") ."" . "|" . "".((isset($_SERVER["REMOTE_ADDR"]))?$_SERVER["REMOTE_ADDR"]:"") ."" . "|" . "".((isset($_POST["email"]))?$_POST["phone"]:$row_WAATKusers['UserPhone']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["country"]:$row_WAATKusers['UserCountry']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["shipping_street1"]:$row_WAATKusers['UserAddress']) ."" . "|" . "".((isset($_POST["email"]))?$_POST["shipping_street2"]:$row_WAATKusers['UserAddress2']) ."";
$WA_columnTypesStr = "',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''|',none,''";
Next add in this code just after line 402:
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["UserPassword"] = "".(isset($_POST["UserPassword"]))?$_POST["UserPassword"]:"" ."";
}
?>
Next in the WA_Universal_Email > Email_Templates > pp_receipt.php
change line 31 to be like this:
<h1 style="color:#3476a3; /* Accent_10 */ margin-bottom:7px; font-size:small;"> Email Address: <?php echo((isset($_POST["email"]))?$_POST["email"]:"") ?> <br> Password: <?php echo $_SESSION['UserPassword']; ?></h1>
Finally in the WA_Universal_Email > Templates > pp_receipt.php
change line 28 to be like this:
<h1 style="color:#3476a3; /* Accent_10 */ margin-bottom:7px; font-size:small;"> Email Address: <?php echo((isset($_POST["email"]))?$_POST["email"]:"") ?> <br> Password: <?php echo $_SESSION['UserPassword']; ?></h1>
Making these changes will set the user verification code correctly and allow a user to login with the password referenced.