Changeset 250


Ignore:
Timestamp:
Apr 18, 2007 10:16:21 PM (17 years ago)
Author:
quinn
Message:

Fixed LOG_ERROR -> LOG_ERR in AuthorizeNet?.inc.php.

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/AuthorizeNet.inc.php

    r1 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    157157        if (empty($this->_params['x_login'])) {
    158158            $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later.");
    159             logMsg(sprintf('x_login not specified.', null), LOG_ERROR, __FILE__, __LINE__);
     159            logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    160160            return false;
    161161        }
    162162        if (empty($this->_params['x_card_num'])) {
    163163            $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_ERROR, __FILE__, __LINE__);
     164            logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    165165            return false;
    166166        }
  • branches/2.0/lib/AuthorizeNet.inc.php

    r42 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    169169        if (empty($this->_params['x_login'])) {
    170170            $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_ERROR, __FILE__, __LINE__);
     171            App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    172172            return false;
    173173        }
    174174        if (empty($this->_params['x_card_num'])) {
    175175            $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_ERROR, __FILE__, __LINE__);
     176            App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    177177            return false;
    178178        }
  • branches/2.0singleton/lib/AuthorizeNet.inc.php

    r135 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $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_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $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_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
  • branches/david/lib/AuthorizeNet.inc.php

    r146 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $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_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $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_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
  • tags/1.0.0/lib/AuthorizeNet.inc.php

    r1 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    157157        if (empty($this->_params['x_login'])) {
    158158            $this->_results['x_response_reason_text'] = _("Transaction gateway temporarily not available. Please try again later.");
    159             logMsg(sprintf('x_login not specified.', null), LOG_ERROR, __FILE__, __LINE__);
     159            logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    160160            return false;
    161161        }
    162162        if (empty($this->_params['x_card_num'])) {
    163163            $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_ERROR, __FILE__, __LINE__);
     164            logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    165165            return false;
    166166        }
  • tags/2.0.0/lib/AuthorizeNet.inc.php

    r1 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    169169        if (empty($this->_params['x_login'])) {
    170170            $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_ERROR, __FILE__, __LINE__);
     171            App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    172172            return false;
    173173        }
    174174        if (empty($this->_params['x_card_num'])) {
    175175            $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_ERROR, __FILE__, __LINE__);
     176            App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    177177            return false;
    178178        }
  • tags/2.0.1/lib/AuthorizeNet.inc.php

    r42 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    169169        if (empty($this->_params['x_login'])) {
    170170            $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_ERROR, __FILE__, __LINE__);
     171            App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    172172            return false;
    173173        }
    174174        if (empty($this->_params['x_card_num'])) {
    175175            $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_ERROR, __FILE__, __LINE__);
     176            App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    177177            return false;
    178178        }
  • tags/2.0.2/lib/AuthorizeNet.inc.php

    r42 r250  
    1414//     'x_Exp_Date' => '042008',
    1515//     'x_Invoice_Num' => '100',
    16 //     'x_Address' => '10 rue LevouvŽ',
     16//     'x_Address' => '10 rue Levouvé',
    1717//     'x_City' => 'SomeCity',
    1818//     'x_State' => 'CA',
     
    169169        if (empty($this->_params['x_login'])) {
    170170            $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_ERROR, __FILE__, __LINE__);
     171            App::logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    172172            return false;
    173173        }
    174174        if (empty($this->_params['x_card_num'])) {
    175175            $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_ERROR, __FILE__, __LINE__);
     176            App::logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    177177            return false;
    178178        }
  • tags/2.1.1/lib/AuthorizeNet.inc.php

    r146 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $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_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $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_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
  • tags/2.1/lib/AuthorizeNet.inc.php

    r146 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $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_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $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_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
  • trunk/lib/AuthorizeNet.inc.php

    r247 r250  
    176176        if (empty($this->_params['x_login'])) {
    177177            $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_ERROR, __FILE__, __LINE__);
     178            $app->logMsg(sprintf('x_login not specified.', null), LOG_ERR, __FILE__, __LINE__);
    179179            return false;
    180180        }
    181181        if (empty($this->_params['x_card_num'])) {
    182182            $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_ERROR, __FILE__, __LINE__);
     183            $app->logMsg(sprintf('x_card_num not specified.', null), LOG_ERR, __FILE__, __LINE__);
    184184            return false;
    185185        }
     
    221221    function getResult($key=null)
    222222    {
    223         if (isset($key)) {
     223        if (isset($key) && isset($this->_results[$key])) {
    224224            return $this->_results[$key];
    225225        } else {
Note: See TracChangeset for help on using the changeset viewer.