/**
  * @overload
  */
 public function validatePayment()
 {
     if (oxConfig::getParameter('paymentid') === "paymill_cc" || oxConfig::getParameter('paymentid') === "paymill_elv") {
         oxSession::deleteVar('paymill_token');
         // set paymill token to session to be available in next step
         if (oxConfig::getParameter('paymillToken')) {
             oxSession::setVar('paymill_token', oxConfig::getParameter('paymillToken'));
         }
     }
     return parent::validatePayment();
 }
 /**
  * @overload
  */
 public function validatePayment()
 {
     $oxConfig = oxRegistry::getConfig();
     $oxSession = oxRegistry::getSession();
     if ($oxConfig->getRequestParameter('paymentid') === "paymill_cc" || $oxConfig->getRequestParameter('paymentid') === "paymill_elv") {
         $oxSession->deleteVariable('paymill_token');
         // set paymill token to session to be available in next step
         if ($oxConfig->getRequestParameter('paymillToken')) {
             $oxSession->setVariable('paymill_token', $oxConfig->getRequestParameter('paymillToken'));
         }
     }
     return parent::validatePayment();
 }