Inheritance: extends AbstractLegacyRequest
 protected function verifyNotifyId()
 {
     $request = new LegacyVerifyNotifyIdRequest($this->httpClient, $this->httpRequest);
     $request->initialize($this->parameters->all());
     $request->setPartner($this->getPartner());
     $request->setNotifyId($this->params->get('notify_id'));
     /**
      * @var VerifyNotifyIdResponse $response
      */
     $response = $request->send();
     if (!$response->isSuccessful()) {
         throw new InvalidRequestException('The `notify_id` verify failed, which TTL is 60s');
     }
 }
 protected function verifyNotifyId()
 {
     if (!$this->getPartner()) {
         throw new InvalidRequestException('The partner is required for notify_id verify');
     }
     $request = new LegacyVerifyNotifyIdRequest($this->httpClient, $this->httpRequest);
     $request->setPartner($this->getPartner());
     $request->setNotifyId($this->params->get('notify_id'));
     /**
      * @var VerifyNotifyIdResponse $response
      */
     $response = $request->send();
     if (!$response->isSuccessful()) {
         throw new InvalidRequestException('The notify_id is not trusted');
     }
 }