Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/netbanx/src/Message/HostedCompletePurchaseRequest.php
Ðазад
<?php namespace Omnipay\NetBanx\Message; class HostedCompletePurchaseRequest extends HostedAbstractRequest { /** * @return array */ public function getData() { $this->validate('transactionReference'); $data = parent::getBaseData(); $data['transactionReference'] = $this->getTransactionReference(); return $data; } /** * @param mixed $data * * @return HostedPurchaseResponse */ public function sendData($data) { $httpResponse = $this->sendRequest($this->getEndpointAction(), null, 'GET'); $responseData = json_decode($httpResponse->getBody()->getContents(), true); return $this->response = new HostedPurchaseResponse($this, $responseData); } /** * @return string */ public function getEndpointAction() { return "/orders/".$this->getTransactionReference(); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка