Ejemplo n.º 1
0
 /**
  * @return $response 
  */
 protected function mopt_payone__standard()
 {
     $paymentId = $this->getPaymentShortName();
     if ($this->moptPayonePaymentHelper->isPayoneInvoice($paymentId)) {
         $clearingType = Payone_Enum_ClearingType::INVOICE;
     } else {
         $clearingType = Payone_Enum_ClearingType::ADVANCEPAYMENT;
     }
     $config = $this->moptPayoneMain->getPayoneConfig($this->getPaymentId());
     $response = $this->mopt_payone__buildAndCallPayment($config, $clearingType, null);
     return $response;
 }