Show
Ignore:
Timestamp:
12/21/2007 11:16:14 AM (13 months ago)
Author:
zombor
Message:

Fix up some driver formatting/logic issues.
Seperate driver error codes into their own i18n files.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/en_US/payment.php

    r1524 r1600  
    88        'no_dlib' => 'Could not load the dynamic library: %s', 
    99        'error' => 'There was an error processing the transaction: %s', 
    10  
    11         'errors' => array 
    12         ( 
    13                 'Trustcommerce' => array 
    14                 ( 
    15                         'decline' => array 
    16                         ( 
    17                                 'avs' => 'AVS failed; the address entered does not match the billing address on file at the bank.', 
    18                                 'cvv' => 'CVV failed; the number provided is not the correct verification number for the card.', 
    19                                 'call' => 'The card must be authorized manually over the phone. You may choose to call the customer service number listed on the card and ask for an offline authcode, which can be passed in the offlineauthcode field.', 
    20                                 'expiredcard' => 'The card has expired. Get updated expiration date from cardholder.', 
    21                                 'carderror' => 'Card number is invalid, which could be a typo, or sometimes a card reported stolen.', 
    22                                 'authexpired' => 'Attempt to postauth an expired (more than 14 days old) preauth.', 
    23                                 'fraud' => 'CrediGuard fraud score was below requested threshold.', 
    24                                 'blacklist' => 'CrediGuard blacklist value was triggered.', 
    25                                 'velocity' => 'CrediGuard velocity control was triggered.', 
    26                                 'dailylimit' => 'Daily limit in transaction count or amount as been reached.', 
    27                                 'weeklylimit' => 'Weekly limit in transaction count or amount as been reached.', 
    28                                 'monthlylimit' => 'Monthly limit in transaction count or amount as been reached.', 
    29                         ), 
    30                         'baddata' => array 
    31                         ( 
    32                                 'missingfields' => 'One or more parameters required for this transaction type were not sent.', 
    33                                 'extrafields' => 'Parameters not allowed for this transaction type were sent.', 
    34                                 'badformat' => 'A field was improperly formatted, such as non-digit characters in a number field.', 
    35                                 'badlength' => 'A field was longer or shorter than the server allows.', 
    36                                 'merchantcantaccept' => 'The merchant can\'t accept data passed in this field.', 
    37                                 'mismatch' => 'Data in one of the offending fields did not cross-check with the other offending field.', 
    38                         ), 
    39                         'error' => array 
    40                         ( 
    41                                 'cantconnect' => 'Couldn\'t connect to the TrustCommerce gateway. Check your Internet connection to make sure it is up.', 
    42                                 'dnsfailure' => 'The TCLink software was unable to resolve DNS hostnames. Make sure you have name resolving ability on the machine.', 
    43                                 'linkfailure' => 'The connection was established, but was severed before the transaction could complete.', 
    44                                 'failtoprocess' => 'The bank servers are offline and unable to authorize transactions. Try again in a few minutes, or try a card from a different issuing bank.', 
    45                         ) 
    46                 ) 
    47         ) 
    4810);