Quote
$result = $db->select("SELECT status FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE sec_order_id = ".$db->mySQLSafe($_GET['tx']) );
if($result[0]['status']==2){
return TRUE;
} else {
return FALSE;
}
}
This is what is in my transfer.inc.php file....
Quote
################################################################################
############
// Following lines added for Sir William's PayPal AutoReturn Fix
} elseif(isset($_GET['tx']) && isset($_GET['st'])) {
$basket['gateway'] = "PayPal";
################################################################################
############
This is the confirmed.inc.php file....
Obviously there's the rest of the files, but those are the bits added & changed.
Paypal IPN is on - it transfers to Paypal okay, with the correct info, ie cart id etc, payment is made as per normal, but the return which is pointing at
http://{mydomain}/confirmed.php is producing a "login to see this page" then "sorry order failed" message.
No PDT switched on - tho did try it both ways to no avail....
HELP before I throw my PC straight out the window and follow it....