core/domain/services/admin/ajax/ThankYouPageIpnMonitor.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 216-225 (lines=10) @@ | 
                                                            
                                    | 213 |  |      * @return array | 
                                                            
                                    | 214 |  |      * @throws EE_Error | 
                                                            
                                    | 215 |  |      */ | 
                                                            
                                    | 216 |  |     private function updateServerWaitTime($thank_you_page_data) | 
                                                            
                                    | 217 |  |     { | 
                                                            
                                    | 218 |  |         $response['espresso_thank_you_page'] = array( | 
                                                            
                                    | 219 |  |             'still_waiting' => isset($thank_you_page_data['initial_access']) | 
                                                            
                                    | 220 |  |                 ? time() - $thank_you_page_data['initial_access'] | 
                                                            
                                    | 221 |  |                 : 0, | 
                                                            
                                    | 222 |  |             'txn_status'    => $this->transaction->status_ID(), | 
                                                            
                                    | 223 |  |         ); | 
                                                            
                                    | 224 |  |         return $response; | 
                                                            
                                    | 225 |  |     } | 
                                                            
                                    | 226 |  | } | 
                                                            
                                    | 227 |  |  | 
                                                                        
                 
                                                            
                    
modules/thank_you_page/EED_Thank_You_Page.module.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 474-483 (lines=10) @@ | 
                                                            
                                    | 471 |  |      * @return array | 
                                                            
                                    | 472 |  |      * @throws \EE_Error | 
                                                            
                                    | 473 |  |      */ | 
                                                            
                                    | 474 |  |     private function _update_server_wait_time($thank_you_page_data = array()) | 
                                                            
                                    | 475 |  |     { | 
                                                            
                                    | 476 |  |         $response['espresso_thank_you_page'] = array( | 
                                                            
                                    | 477 |  |             'still_waiting' => isset($thank_you_page_data['initial_access']) | 
                                                            
                                    | 478 |  |                 ? time() - $thank_you_page_data['initial_access'] | 
                                                            
                                    | 479 |  |                 : 0, | 
                                                            
                                    | 480 |  |             'txn_status'    => $this->_current_txn->status_ID(), | 
                                                            
                                    | 481 |  |         ); | 
                                                            
                                    | 482 |  |         return $response; | 
                                                            
                                    | 483 |  |     } | 
                                                            
                                    | 484 |  |  | 
                                                            
                                    | 485 |  |  | 
                                                            
                                    | 486 |  |     /** |