/** * @inheritdoc */ public function lightAuth($certificate, $key, $keyPassword = '') { if ($this->authType === self::AUTH_LIGHT) { $this->setSignature($this->signLight($this->getSignerWmid() . $this->getStartDateTime()->format('Ymd H:i:s') . $this->getEndDateTime()->format('Ymd H:i:s') . $this->getTransactionId(), $key, $keyPassword)); } parent::lightAuth($certificate, $key, $keyPassword); }
/** * @inheritdoc */ public function lightAuth($certificate, $key, $keyPassword = '') { if ($this->authType === self::AUTH_LIGHT) { $this->setSignature($this->signLight($this->getSignerWmid() . $this->getCurrency() . $this->getPayeePurse() . $this->getPhone() . $this->getPrice(), $key, $keyPassword)); } parent::lightAuth($certificate, $key, $keyPassword); }
/** * @inheritdoc */ public function lightAuth($certificate, $key, $keyPassword = '') { if ($this->authType === self::AUTH_LIGHT) { $this->setSignature($this->signLight($this->getSignerWmid() . $this->getTransactionId() . $this->getCurrency() . $this->getTest() . $this->getPayeePurse() . $this->getPhone() . $this->getPrice() . $this->getDate()->format('Ymd H:i:s') . $this->getPoint(), $key, $keyPassword)); } parent::lightAuth($certificate, $key, $keyPassword); }