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