public function init() { parent::init(); if (empty($this->accountId)) { throw new PaymentException("accountId must be set in your saferpay transaction"); } }
public function init() { parent::init(); if ($this->clientId === null || $this->clientSecret === null) { throw new PaymentException("the paypal clientId and clientSecret properite can not be null!"); } }