for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\Omnipay\PlatiOnline\Message;
/**
* Class AuthorizeResponse
* @package ByTIC\Omnipay\PlatiOnline\Message
*/
class AuthorizeResponse extends AbstractResponse
{
* @inheritDoc
public function getRedirectUrl()
return (string) $this->data->po_redirect_url;
}
* @inheritdoc
public function isSuccessful()
return $this->getCode() != 1;
public function getMessage()
return (string) $this->data->po_error_reason;
public function getCode()
return (string) $this->data->po_error_code;
public function getTransactionReference()
return (string) $this->data->x_trans_id;