Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/multisafepay/src/Message/FetchIssuersRequest.php
Ðазад
<?php namespace Omnipay\MultiSafepay\Message; use SimpleXMLElement; /** * @method \Omnipay\MultiSafepay\Message\FetchIssuersResponse send() */ class FetchIssuersRequest extends AbstractRequest { /** * {@inheritdoc} */ public function getData() { $data = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><idealissuers/>'); $data->addAttribute('ua', $this->userAgent); $merchant = $data->addChild('merchant'); $merchant->addChild('account', $this->getAccountId()); $merchant->addChild('site_id', $this->getSiteId()); $merchant->addChild('site_secure_code', $this->getSiteCode()); return $data; } /** * {@inheritdoc} */ public function sendData($data) { $httpResponse = $this->httpClient->post( $this->getEndpoint(), $this->getHeaders(), $data->asXML() )->send(); return $this->response = new FetchIssuersResponse($this, $httpResponse->xml()); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка