Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1749

Authorize.net CIM: Refund action performs a void instead

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.2
    • Component/s: Gateways
    • Labels:
      None

      Description

      Attempting to process a Refund (CC or ACH) through Authorize.net CIM actually performs a Void instead.

      Both CC and ACH refunds should be updated to fix this issue.

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        Hide
        cody Cody Phillips (Inactive) added a comment -

        Looks like the issue is line 532 of authorize_net.php

        		$response = $this->AuthorizeNetCim->void($client_reference_id, $account_reference_id, $transaction_id, $amount);
        

        Should be:

        		$response = $this->AuthorizeNetCim->refund($client_reference_id, $account_reference_id, $transaction_id, $amount);
        
        Show
        cody Cody Phillips (Inactive) added a comment - Looks like the issue is line 532 of authorize_net.php $response = $this->AuthorizeNetCim->void($client_reference_id, $account_reference_id, $transaction_id, $amount); Should be: $response = $this->AuthorizeNetCim->refund($client_reference_id, $account_reference_id, $transaction_id, $amount);
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        cody Cody Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Looks like you missed fixing the ACH refunds as well. I've updated the gateway to fix that.

        Show
        tyson Tyson Phillips (Inactive) added a comment - Looks like you missed fixing the ACH refunds as well. I've updated the gateway to fix that.
        Hide
        cody Cody Phillips (Inactive) added a comment -

        Good catch.

        Show
        cody Cody Phillips (Inactive) added a comment - Good catch.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/Aug/15