/** * Remove token from Sagepay Service * * @param string $token Token GUID provided by Sagepay service on card registration * * @return boolean */ public function remove($token) { $data = $this->_prepareRemoveData($token); $ttl = $this->_config->getRequestTimeout(); $caCert = $this->_config->getCaCertPath(); $response = SagepayCommon::requestPost($this->_removeUrl, $data, $ttl, $caCert); return ($response['Status'] == SAGEPAY_REMOTE_STATUS_OK); }