Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/targetpay/src/Message/CompletePurchaseRequest.php
Ðазад
<?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.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка