Replace status with active in tables
This commit is contained in:
@@ -62,7 +62,7 @@ abstract class Checkout_Plugin_Paypal extends Checkout_Plugin {
|
||||
$debug_mode = Kohana::$config->load('debug')->checkout_notify;
|
||||
|
||||
// If testing
|
||||
if (! $cno->status OR $cno->processed OR ($debug_mode AND Request::$client_ip == $this->ipn_test))
|
||||
if (! $cno->active OR $cno->processed OR ($debug_mode AND Request::$client_ip == $this->ipn_test))
|
||||
return _('Thank you');
|
||||
|
||||
$co = Cart::instance(isset($cno->data['custom']) ? $cno->data['custom'] : '');
|
||||
@@ -200,14 +200,14 @@ abstract class Checkout_Plugin_Paypal extends Checkout_Plugin {
|
||||
}
|
||||
|
||||
} else {
|
||||
$cno->status = FALSE;
|
||||
$cno->active = FALSE;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'INVALID':
|
||||
default:
|
||||
$cno->status = FALSE;
|
||||
$cno->active = FALSE;
|
||||
}
|
||||
|
||||
if (! $debug_mode)
|
||||
|
Reference in New Issue
Block a user