����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.217.65.73 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/libraries/vendor/omnipay/netaxept/src/Message/ |
Upload File : |
<?php namespace Omnipay\Netaxept\Message; use Omnipay\Common\Message\AbstractResponse; use Omnipay\Common\Message\RedirectResponseInterface; /** * Netaxept Response */ class Response extends AbstractResponse implements RedirectResponseInterface { public function isSuccessful() { return isset($this->data->ResponseCode) && 'OK' === (string) $this->data->ResponseCode; } public function isRedirect() { return !$this->isSuccessful() && 'RegisterResponse' === (string) $this->data->getName(); } public function getTransactionReference() { return isset($this->data->TransactionId) ? (string) $this->data->TransactionId : null; } public function getMessage() { if (isset($this->data->Error->Message)) { return (string) $this->data->Error->Message; } elseif (isset($this->data->ResponseCode)) { return (string) $this->data->ResponseCode; } } public function getRedirectUrl() { if ($this->isRedirect()) { $data = array( 'merchantId' => $this->getRequest()->getMerchantId(), 'transactionId' => $this->getTransactionReference(), ); return $this->getRequest()->getEndpoint().'/Terminal/Default.aspx?'.http_build_query($data); } } public function getRedirectMethod() { return 'GET'; } public function getRedirectData() { return null; } }