I see the issue.
This line is missing parenthasis:
$couponGood = (isset($_SESSION["couponcode"]) && $_SESSION["couponcode"] == $allowCoupon && date("n/j/Y") == "11/22/2019" && ($x_value === 'FEDEXGROUND') || ($x_value === 'GROUND_HOME_DELIVERY'));
should be:
$couponGood = (isset($_SESSION["couponcode"]) && $_SESSION["couponcode"] == $allowCoupon && date("n/j/Y") == "11/22/2019" && (($x_value === 'FEDEXGROUND') || ($x_value === 'GROUND_HOME_DELIVERY')));
I think it should be the same line on both pages.