+ Reply to Thread
Results 1 to 7 of 7

Thread: AUTHORIZE.NET - More Detailed "Declined" Messages???

  1. #1
    Client
    Join Date
    Dec 2004
    Location
    Phoenix, AZ
    Posts
    337
    Squirrelcart version
    v3.3.2

    AUTHORIZE.NET - More Detailed "Declined" Messages???

    I have a problem with customers not entering the correct billing address. This is causing "declined" messages. They see "declined", but I see a much more detailed message when I check on Auth.net that reads something like:

    "Declined (Authorization with the card issuer was successful but the transaction was declined due to an address or ZIP code mismatch with the address on file with the card issuing bank based on the settings in the Merchant Interface.)"

    Is it possible to display this message to the customers so they can resolve the problem themselves without having to call or email me all the time?

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    You have settings in your Authorize.net control panel that control when a transaction is declined based on AVS and other info. It sounds like you have it configured to decline when the address information doesn't match.

    You can make our Authorize.net integration provide more info on decline as follows:

    1. Open squirrelcart/payment_gateways/authorizenet.php in an editor
    2. Find this code (around line #146):
      PHP Code:
          } elseif($response['Response_Code'] == "2") {
              
              
      $result['status']         = 'declined'
    3. Change it to:
      PHP Code:
          } elseif($response['Response_Code'] == "2") {
              
              
      $result['status']         = 'declined';
              
      $result['error_msgs'][] = $response['Response_Reason_Text']; 
    4. Save the file
    We will be adding this in the next release.

  3. #3
    Client
    Join Date
    Dec 2004
    Location
    Phoenix, AZ
    Posts
    337
    Squirrelcart version
    v3.3.2
    Sweet! Thanks!

  4. #4
    Client
    Join Date
    Sep 2010
    Posts
    1
    Squirrelcart version
    not specified!

    Custom Denied Messages

    Hi,

    I tried your suggestion and added that line which started showing more information when you provide incorrect billing Address, but it still shows a very generic messages if the Card number and CVV is incorrect. How to handle that?

    Also if I process with Incorrect First Name and Last Name it still processes the payment.

    Any help???

    Thanks,
    Daniel


    Quote Originally Posted by Jamie View Post
    You have settings in your Authorize.net control panel that control when a transaction is declined based on AVS and other info. It sounds like you have it configured to decline when the address information doesn't match.

    You can make our Authorize.net integration provide more info on decline as follows:

    1. Open squirrelcart/payment_gateways/authorizenet.php in an editor
    2. Find this code (around line #146):
      PHP Code:
          } elseif($response['Response_Code'] == "2") {
              
              
      $result['status']         = 'declined'
    3. Change it to:
      PHP Code:
          } elseif($response['Response_Code'] == "2") {
              
              
      $result['status']         = 'declined';
              
      $result['error_msgs'][] = $response['Response_Reason_Text']; 
    4. Save the file
    We will be adding this in the next release.

  5. #5
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    I tried your suggestion and added that line which started showing more information when you provide incorrect billing Address, but it still shows a very generic messages if the Card number and CVV is incorrect.
    If the card number is incorrect, Squirrelcart provides a very specific error message indicating that it is not valid.

    If the CVV code is incorrect, we can only return the information Authorize.net provides in their response which you are already doing.


    Also if I process with Incorrect First Name and Last Name it still processes the payment.
    That is a question for Authorize.net support.

  6. #6
    Client
    Join Date
    Oct 2005
    Posts
    24
    Squirrelcart version
    v2.0.0
    Quote Originally Posted by Jamie View Post
    If the card number is incorrect, Squirrelcart provides a very specific error message indicating that it is not valid.

    If the CVV code is incorrect, we can only return the information Authorize.net provides in their response which you are already doing.



    That is a question for Authorize.net support.
    Is this a question for them also Jamie? I get this error message:

    An error occurred while processing your transaction:
    This account has not been given the permission(s) required for this request.

  7. #7
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    That is an indication that the credentials you entered in the Authorize.net payment gateway record in Squirrelcart's control panel are wrong.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts