/** * electronicPaymentAttempt hook * * Collect PEnding transactions and return them * * @Deprecated * */ public static function electronicPaymentAttempt($user_id, &$transactions) { foreach (TMRecord::getPendingTransactions($user_id) as $tmr) { $transactions[] = $tmr; } return false; }