/**
  * Confirma una preautorización por web service previamente enviada
  * @param int $idpayuser Id del usuario en PAYTPV
  * @param string $tokenpayuser Token del usuario en PAYTPV
  * @param string $amount Importe del pago 1€ = 100
  * @param string $transreference Identificador único del pago
  * @return object Objeto de respuesta de la operación
  * @version 2.0 2016-06-02
  */
 public function PreauthorizationConfirm($idpayuser, $tokenpayuser, $amount, $transreference)
 {
     $signature = sha1($this->merchantCode . $idpayuser . $tokenpayuser . $this->terminal . $transreference . $amount . $this->password);
     $ip = $_SERVER['REMOTE_ADDR'];
     try {
         $clientSOAP = new SoapClient($this->endpoint);
         $ans = $clientSOAP->preauthorization_confirm($this->merchantCode, $this->terminal, $idpayuser, $tokenpayuser, $amount, $transreference, $signature, $ip);
     } catch (SoapFault $e) {
         return $this->SendResponse();
     }
     return $this->SendResponse($ans);
 }