public function createTokenPayment($pType, array $additional = [])
    {
        $request = new CreatePaymentToken($this->config->getMerchantId());

        $request->setPType($pType);
        $request->setAdditional($additional);

        $this->request = $request->getXml();

        $this->send();

        $result = new CreatePaymentTokenResponse($this->response);

        return $result;
    }
public function createTokenPayment($pType, array $additional = [])
    {
        $request = new CreatePaymentToken($this->config->getMerchantId());

        $request->setPType($pType);
        $request->setAdditional($additional);

        $this->request = $request->getXml();

        $this->send();

        $result = new CreatePaymentTokenResponse($this->response);

        return $result;
    }
public function createTokenPayment ( $ pType , array $ additional = [ ] ) { $ request = new CreatePaymentToken ( $ this -> config -> getMerchantId ( ) ) ; $ request -> setPType ( $ pType ) ; $ request -> setAdditional ( $ additional ) ; $ this -> request = $ request -> getXml ( ) ; $ this -> send ( ) ; $ result = new CreatePaymentTokenResponse ( $ this -> response ) ; return $ result ; }
Start a secure payment using the mPAY24 Tokenizer.

@param string $pType The payment type used for the tokenization (currently supported 'CC')
@param array  $additional

@return CreatePaymentTokenResponse
Start a secure payment using the mPAY24 Tokenizer .