Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/pin/src/Message/CaptureRequest.php
Ðазад
<?php /** * Pin Capture Request */ namespace Omnipay\Pin\Message; use Guzzle\Http\Message\RequestInterface; /** * Pin Capture Request */ class CaptureRequest extends AbstractRequest { public function getData() { $this->validate('transactionReference'); // Amount is the only possible optional parameter $amount = $this->getAmountInteger(); return $amount ? array('amount' => $amount) : array(); } public function sendData($data) { $httpResponse = $this->sendRequest( '/charges/' . $this->getTransactionReference() . '/capture', $data, 'PUT' ); return $this->response = new CaptureResponse($this, $httpResponse->getBody()->getContents()); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка