You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
650 B
PHP
39 lines
650 B
PHP
<?php
|
|
|
|
namespace Omnipay\Inforbank\Message;
|
|
|
|
use Omnipay\Common\Message\RedirectResponseInterface;
|
|
|
|
class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface
|
|
{
|
|
public function isSuccessful()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function isRedirect()
|
|
{
|
|
return is_null($this->getError());
|
|
}
|
|
|
|
public function isPending()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function getRedirectUrl()
|
|
{
|
|
return $this->data['redirect'];
|
|
}
|
|
|
|
public function getRedirectMethod()
|
|
{
|
|
return 'GET';
|
|
}
|
|
|
|
public function getRedirectData()
|
|
{
|
|
return null;
|
|
}
|
|
}
|