【发布时间】:2012-11-28 17:17:40
【问题描述】:
我称之为建筑。
function __construct()
{
parent::__construct();
if( !$this->authentication->authenticate( $this->router->class ) ) {
redirect('clients/');
}
$this->load->model('client_model', 'client');
$this->layout = 'layout/web/client';
}
当 paypal NOTIFY_URL 访问 url 时,我遇到了问题,它不保存凭据,如果我从构造函数中删除它,它可以工作。
function payment_notification()
{
if( $this->input->post(NULL, TRUE) )
{
$this->saveintodb( $this->input->post() );
} else {
show_error('Post data not found in request', 500);
}
}
【问题讨论】:
标签: codeigniter paypal