コード例 #1
0
ファイル: Request.php プロジェクト: baibaratsky/php-webmoney
 /**
  * @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);
 }
コード例 #2
0
ファイル: Request.php プロジェクト: baibaratsky/php-webmoney
 /**
  * @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);
 }
コード例 #3
0
ファイル: Request.php プロジェクト: baibaratsky/php-webmoney
 /**
  * @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);
 }