/** * _handle_json_response * * @access protected * @return void */ protected function _handle_json_response() { // if this is an ajax request if (EE_Registry::instance()->REQ->ajax) { // DEBUG LOG //$this->checkout->log( // __CLASS__, __FUNCTION__, __LINE__, // array( // 'json_response_redirect_url' => $this->checkout->json_response->redirect_url(), // 'redirect' => $this->checkout->redirect, // 'continue_reg' => $this->checkout->continue_reg, // ) //); $this->checkout->json_response->set_registration_time_limit($this->checkout->get_registration_time_limit()); // just send the ajax ( $json_response = apply_filters('FHEE__EE_Single_Page_Checkout__JSON_response', $this->checkout->json_response); $this->unlock_transaction(); echo $json_response; exit; } }