Example #1
0
 /**
  * @param string $paymentId
  * @return Message\Response
  */
 public function paymentOneclickStart($paymentId)
 {
     if (!$this->isOneclickPaymentSupported()) {
         throw new NotSupportedException('payment/oneclick is not supported in currently used eAPI version');
     }
     $data = ['merchantId' => $this->config->getMerchantId(), 'payId' => $paymentId, 'dttm' => $this->formatDatetime()];
     return $this->processRequest(Message\Request::paymentOneclickStart($data));
 }