Merge pull request #19087 from civicrm/5.32
[civicrm-core.git] / CRM / Core / Payment / AuthorizeNet.php
index d7b2249e5ec69a66e85ce032732fa643ca6caed4..0cbbc2b93984506d9abd5c2bc0708b0911662823 100644 (file)
@@ -193,7 +193,6 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
       default:
         // Success
         $params['trxn_id'] = !empty($response_fields[6]) ? $response_fields[6] : $this->getTestTrxnID();
-        $params['gross_amount'] = $response_fields[9];
         break;
     }
 
@@ -673,7 +672,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment {
   /**
    * Process incoming notification.
    */
-  public static function handlePaymentNotification() {
+  public function handlePaymentNotification() {
     $ipnClass = new CRM_Core_Payment_AuthorizeNetIPN(array_merge($_GET, $_REQUEST));
     $ipnClass->main();
   }