for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* FreeKassa driver for Omnipay PHP payment library
*
* @link https://github.com/hiqdev/omnipay-freekassa
* @package omnipay-freekassa
* @license MIT
* @copyright Copyright (c) 2017, HiQDev (http://hiqdev.com/)
*/
namespace Omnipay\FreeKassa\Message;
use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RedirectResponseInterface;
* FreeKassa Purchase Response.
class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface
{
protected $_redirect = 'https://www.free-kassa.ru/merchant/cash.php';
public function isSuccessful()
return false;
}
public function isRedirect()
return true;
public function getRedirectUrl()
return $this->_redirect . '?' . http_build_query($this->getRedirectData());
public function getRedirectMethod()
return 'GET';
public function getRedirectData()
return $this->data;