CRM-14930 - net amount and fee amount are not provided by authnet
authorJamie McClelland <jm@mayfirst.org>
Mon, 18 Aug 2014 15:12:11 +0000 (11:12 -0400)
committerJamie McClelland <jm@mayfirst.org>
Mon, 18 Aug 2014 15:12:11 +0000 (11:12 -0400)
Removing these lines because they will never be set (which should allow
the values to be set to NULL anyway).

----------------------------------------
* CRM-14930: Authorize.net silentpost transactions cannot be edited due to invalid net_amount
  https://issues.civicrm.org/jira/browse/CRM-14930

CRM/Core/Payment/AuthorizeNetIPN.php

index ae6077954fa5626a7b4b913186df8a0f6825b9da..93c43e7fe2c94822f1bc3c955e53aa9af9eda68f 100644 (file)
@@ -223,8 +223,6 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
     $input['subscription_id'] = self::retrieve('x_subscription_id', 'Integer');
     $input['response_code'] = self::retrieve('x_response_code', 'Integer');
     $input['MD5_Hash'] = self::retrieve('x_MD5_Hash', 'String', FALSE, '');
-    $input['fee_amount'] = self::retrieve('x_fee_amount', 'Money', FALSE, NULL);
-    $input['net_amount'] = self::retrieve('x_net_amount', 'Money', FALSE, NULL);
     $input['response_reason_code'] = self::retrieve('x_response_reason_code', 'String', FALSE);
     $input['response_reason_text'] = self::retrieve('x_response_reason_text', 'String', FALSE);
     $input['subscription_paynum'] = self::retrieve('x_subscription_paynum', 'Integer', FALSE, 0);