����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.116.61.213 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\Exception\InvalidResponseException; use Omnipay\Common\Message\AbstractRequest; /** * Netaxept Annul Request * * @author Antonio Peric-Mazar <antonio@locastic.com> */ class AnnulRequest extends PurchaseRequest { public function getData() { $data = array(); $data['transactionAmount'] = $this->getAmountInteger(); $data['transactionId'] = $this->getTransactionId(); $data['merchantId'] = $this->getMerchantId(); $data['token'] = $this->getPassword(); $data['operation'] = 'ANNUL'; if (empty($data['transactionAmount']) || empty($data['transactionId'])) { throw new InvalidResponseException; } return $data; } public function sendData($data) { $url = $this->getEndpoint().'/Netaxept/Process.aspx?'; $httpResponse = $this->httpClient->get($url.http_build_query($data))->send(); return $this->response = new Response($this, $httpResponse->xml()); } }