btw, I hope the above statement is programattically correct? Here again: if( $price_cost != 0 || $price_cost != 'free' && $price_cost == NULL ) Code (markup): It should process payment.php on empty and integers, except on 0, and 'free'.