Omnipay\Alipay\Requests\LegacyNotifyRequest::verifyNotifyId PHP Method

verifyNotifyId() protected method

protected verifyNotifyId ( )
    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');
        }
    }