File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/targetpay/src/Message/CompletePurchaseRequest.php
Back
<?php namespace Omnipay\TargetPay\Message; abstract class CompletePurchaseRequest extends AbstractRequest { public function getExchangeOnce() { return $this->getParameter('exchangeOnce'); } public function setExchangeOnce($value) { return $this->setParameter('exchangeOnce', $value); } /** * {@inheritdoc} */ public function getData() { return array( 'rtlo' => $this->getSubAccountId(), 'trxid' => $this->httpRequest->query->get('trxid'), 'once' => $this->getExchangeOnce(), 'test' => $this->getTestMode(), ); } /** * {@inheritdoc} */ public function sendData($data) { $httpResponse = $this->httpClient->get( $this->getEndpoint().'?'.http_build_query($data) )->send(); return $this->response = new CompletePurchaseResponse($this, $httpResponse->getBody(true)); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings