public function verify($amount, $authority)
    {
        // backward compatibility
        if (count(func_get_args()) == 3) {
            $amount = func_get_arg(1);
            $authority = func_get_arg(2);
        }

        $inputs = [
            'MerchantID' => $this->merchantID,
            'Authority'  => $authority,
            'Amount'     => $amount,
        ];

        return $this->driver->verifyWithExtra($inputs);
    }
public function verify($amount, $authority)
    {
        // backward compatibility
        if (count(func_get_args()) == 3) {
            $amount = func_get_arg(1);
            $authority = func_get_arg(2);
        }

        $inputs = [
            'MerchantID' => $this->merchantID,
            'Authority'  => $authority,
            'Amount'     => $amount,
        ];

        return $this->driver->verifyWithExtra($inputs);
    }
public function verify ( $ amount , $ authority ) { // backward compatibility if ( count ( func_get_args ( ) ) == 3 ) { $ amount = func_get_arg ( 1 ) ; $ authority = func_get_arg ( 2 ) ; } $ inputs = [ 'MerchantID' => $ this -> merchantID , 'Authority' => $ authority , 'Amount' => $ amount , ] ; return $ this -> driver -> verifyWithExtra ( $ inputs ) ; }
verify that the bill is paid or not
by checking authority, amount and status.

@param $amount
@param $authority

@return array
verify that the bill is paid or not by checking authority amount and status .