/**
  * Ejecuta un pago por web service
  * @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
  * @param string $currency Identificador de la moneda de la operación
  * @param string $productdescription Descripción del producto
  * @param string $owner Titular de la tarjeta
  * @param integer $scoring (optional) Valor de scoring de riesgo de la transacción
  * @return object Objeto de respuesta de la operación
  * @version 2.0 2016-06-02
  */
 public function ExecutePurchase($idpayuser, $tokenpayuser, $amount, $transreference, $currency, $productdescription, $owner, $scoring = null)
 {
     $signature = sha1($this->merchantCode . $idpayuser . $tokenpayuser . $this->terminal . $amount . $transreference . $this->password);
     $ip = $_SERVER['REMOTE_ADDR'];
     try {
         $clientSOAP = new SoapClient($this->endpoint);
         $ans = $clientSOAP->execute_purchase($this->merchantCode, $this->terminal, $idpayuser, $tokenpayuser, $amount, $transreference, $currency, $signature, $ip, $productdescription, $owner, $scoring);
     } catch (SoapFault $e) {
         return $this->SendResponse();
     }
     return $this->SendResponse($ans);
 }