default:
// Success
$params['trxn_id'] = !empty($response_fields[6]) ? $response_fields[6] : $this->getTestTrxnID();
- $params['gross_amount'] = $response_fields[9];
break;
}
/**
* Process incoming notification.
*/
- public static function handlePaymentNotification() {
+ public function handlePaymentNotification() {
$ipnClass = new CRM_Core_Payment_AuthorizeNetIPN(array_merge($_GET, $_REQUEST));
$ipnClass->main();
}