1
0
Fork 0
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

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;
}
}