protected function controlAccessCheckoutComplete()
    {
        if (empty($this->data_order['user_id']) || $this->data_order['user_id'] !== $this->cart_uid) {
            $this->outputHttpStatus(403);
        }

        if (!$this->order->isPending($this->data_order)) {
            $this->outputHttpStatus(403);
        }
    }
protected function controlAccessCheckoutComplete()
    {
        if (empty($this->data_order['user_id']) || $this->data_order['user_id'] !== $this->cart_uid) {
            $this->outputHttpStatus(403);
        }

        if (!$this->order->isPending($this->data_order)) {
            $this->outputHttpStatus(403);
        }
    }
protected function controlAccessCheckoutComplete ( ) { if ( empty ( $ this -> data_order [ 'user_id' ] ) || $ this -> data_order [ 'user_id' ] !== $ this -> cart_uid ) { $ this -> outputHttpStatus ( 403 ) ; } if ( ! $ this -> order -> isPending ( $ this -> data_order ) ) { $ this -> outputHttpStatus ( 403 ) ; } }
Controls access to the checkout complete page
Controls access to the checkout complete page