checkout button on quick cart and display cart
I have a checkout button on my quick cart on my purchase page and a separate page for my view cart. I used the wizard to do my checkout via paypal on the page where the quick cart is. This worked fine. The button on the view cart (for checkout) doesn't work. I did change the code on my view cart to read:
<?php
//WA eCart Redirect Check Out
if (isset($_POST["wyomingcart_Checkout"]) || isset($_POST["wyomingcart_Checkout_x"])) {
$Redirect_redirStr="checkout.php";
if ($Redirect_redirStr != "") {
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
if (strpos($Redirect_redirStr, "?") === false) {
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
}
else {
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
}
}
$wyomingcart->redirStr = $Redirect_redirStr;
}
$wyomingcart->cartAction = "Checkout";
}
?>
Still doesn't work. Also mirrored the button code from the quick cart to the view cart, no help. Yes these are all before the doctype tag.
What am I missing?
Dave