PHP Class for handling SagePay Direct payments