Esempio n. 1
0
 /**
  * Get note with explanation why payment method can not be enabled
  *
  * @param \XLite\Model\Payment\Method $method Payment method object
  *
  * @return string
  */
 public function getForbidEnableNote(\XLite\Model\Payment\Method $method)
 {
     $result = parent::getForbidEnableNote($method);
     if (Paypal\Main::PP_METHOD_PPS == $method->getServiceName()) {
         $result = 'This payment method cannot be enabled together with PayPal Advanced method';
     }
     return $result;
 }