what version of square webPay are you running?

also, please post the code from square_webPay.php that starts after this line:

PHP Code:
public function selection() 
in version 1.0.4 it starts at line 240.

the last 2 lines look something like this:

PHP Code:
             return $selection;
        }