for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/phpviet/omnipay-vnpay
*
* @copyright (c) PHP Viet
* @license [MIT](https://opensource.org/licenses/MIT)
*/
namespace Omnipay\VNPay\Message;
use Omnipay\Common\Message\RequestInterface;
* @author Vuong Minh <[email protected]>
* @since 1.0.0
class SignatureResponse extends Response
{
use Concerns\ResponseSignatureValidation;
* {@inheritdoc}
* @throws \Omnipay\Common\Exception\InvalidResponseException
public function __construct(RequestInterface $request, $data)
parent::__construct($request, $data);
if ($this->isSuccessful()) {
$this->validateSignature();
}