Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/migs/src/Message/ThreePartyRefundRequest.php
Ðазад
<?php namespace Omnipay\Migs\Message; use Omnipay\Common\Exception\InvalidRequestException; /** * Migs Complete Purchase Request */ class ThreePartyRefundRequest extends AbstractRequest { protected $action = 'refund'; public function getData() { $this->validate('amount', 'returnUrl', 'transactionId'); $data = $this->getBaseData(); $data['vpc_SecureHash'] = $this->calculateHash($data); $data['vpc_TransNo'] = $this->getParameter('transactionNo'); $data['vpc_User'] = $this->getUser(); $data['vpc_Password'] = $this->getPassword(); return $data; } public function sendData($data) { $httpResponse = $this->httpClient->post($this->getEndpoint(), null, $data)->send(); return $this->response = new Response($this, $httpResponse->getBody()); } public function getEndpoint() { return $this->endpoint.'vpcdps'; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка