Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/migs/src/Message/ThreePartyPurchaseRequest.php
Ðазад
<?php namespace Omnipay\Migs\Message; /** * Migs Purchase Request */ class ThreePartyPurchaseRequest extends AbstractRequest { protected $action = 'pay'; public function getData() { $this->validate('amount', 'returnUrl', 'transactionId'); $data = $this->getBaseData(); $data['vpc_SecureHash'] = $this->calculateHash($data); $data['vpc_SecureHashType'] = 'SHA256'; return $data; } public function sendData($data) { $redirectUrl = $this->getEndpoint().'?'.http_build_query($data); return $this->response = new ThreePartyPurchaseResponse($this, $data, $redirectUrl); } public function getEndpoint() { if ($this->getParameter('testMode')) { return $this->endpointTEST.'vpcpay'; } else { return $this->endpoint.'vpcpay'; } } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка