Sagepay handling class for PHP