Changeset 250
- Timestamp:
- Apr 18, 2007 10:16:21 PM (17 years ago)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/lib/AuthorizeNet.inc.php
r1 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 157 157 if (empty($this->_params['x_login'])) { 158 158 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 159 logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);159 logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 160 160 return false; 161 161 } 162 162 if (empty($this->_params['x_card_num'])) { 163 163 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 164 logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);164 logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 165 165 return false; 166 166 } -
branches/2.0/lib/AuthorizeNet.inc.php
r42 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 169 169 if (empty($this->_params['x_login'])) { 170 170 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 172 172 return false; 173 173 } 174 174 if (empty($this->_params['x_card_num'])) { 175 175 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 177 177 return false; 178 178 } -
branches/2.0singleton/lib/AuthorizeNet.inc.php
r135 r250 176 176 if (empty($this->_params['x_login'])) { 177 177 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 179 179 return false; 180 180 } 181 181 if (empty($this->_params['x_card_num'])) { 182 182 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 184 184 return false; 185 185 } -
branches/david/lib/AuthorizeNet.inc.php
r146 r250 176 176 if (empty($this->_params['x_login'])) { 177 177 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 179 179 return false; 180 180 } 181 181 if (empty($this->_params['x_card_num'])) { 182 182 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 184 184 return false; 185 185 } -
tags/1.0.0/lib/AuthorizeNet.inc.php
r1 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 157 157 if (empty($this->_params['x_login'])) { 158 158 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 159 logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);159 logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 160 160 return false; 161 161 } 162 162 if (empty($this->_params['x_card_num'])) { 163 163 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 164 logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);164 logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 165 165 return false; 166 166 } -
tags/2.0.0/lib/AuthorizeNet.inc.php
r1 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 169 169 if (empty($this->_params['x_login'])) { 170 170 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 172 172 return false; 173 173 } 174 174 if (empty($this->_params['x_card_num'])) { 175 175 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 177 177 return false; 178 178 } -
tags/2.0.1/lib/AuthorizeNet.inc.php
r42 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 169 169 if (empty($this->_params['x_login'])) { 170 170 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 172 172 return false; 173 173 } 174 174 if (empty($this->_params['x_card_num'])) { 175 175 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 177 177 return false; 178 178 } -
tags/2.0.2/lib/AuthorizeNet.inc.php
r42 r250 14 14 // 'x_Exp_Date' => '042008', 15 15 // 'x_Invoice_Num' => '100', 16 // 'x_Address' => '10 rue Levouv ',16 // 'x_Address' => '10 rue Levouvé', 17 17 // 'x_City' => 'SomeCity', 18 18 // 'x_State' => 'CA', … … 169 169 if (empty($this->_params['x_login'])) { 170 170 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);171 App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 172 172 return false; 173 173 } 174 174 if (empty($this->_params['x_card_num'])) { 175 175 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);176 App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 177 177 return false; 178 178 } -
tags/2.1.1/lib/AuthorizeNet.inc.php
r146 r250 176 176 if (empty($this->_params['x_login'])) { 177 177 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 179 179 return false; 180 180 } 181 181 if (empty($this->_params['x_card_num'])) { 182 182 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 184 184 return false; 185 185 } -
tags/2.1/lib/AuthorizeNet.inc.php
r146 r250 176 176 if (empty($this->_params['x_login'])) { 177 177 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 179 179 return false; 180 180 } 181 181 if (empty($this->_params['x_card_num'])) { 182 182 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 184 184 return false; 185 185 } -
trunk/lib/AuthorizeNet.inc.php
r247 r250 176 176 if (empty($this->_params['x_login'])) { 177 177 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR OR, __FILE__, __LINE__);178 $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__); 179 179 return false; 180 180 } 181 181 if (empty($this->_params['x_card_num'])) { 182 182 $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later."); 183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR OR, __FILE__, __LINE__);183 $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__); 184 184 return false; 185 185 } … … 221 221 function getResult($key=null) 222 222 { 223 if (isset($key) ) {223 if (isset($key) && isset($this->_results[$key])) { 224 224 return $this->_results[$key]; 225 225 } else {
Note: See TracChangeset
for help on using the changeset viewer.