Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/toyyibpay/src/Message/CompletePurchaseRequest.php
Ðазад
<?php namespace Omnipay\ToyyibPay\Message; /** * toyyibPay Get a Bill Transaction */ class CompletePurchaseRequest extends AbstractRequest { protected $apiEndpoint = 'index.php/api/getBillTransactions'; protected function guardParameters() { $this->validate( 'billCode' ); } protected function createResponse($data) { return $this->response = new CompletePurchaseResponse($this, $data); } public function getData() { $this->guardParameters(); $data = array( 'billCode' => $this->getBillCode(), 'billpaymentStatus' => $this->getBillpaymentStatus() ); return $data; } public function sendData($data) { $data['apiEndpoint'] = $this->apiEndpoint; $httpResponse = $this->sendRequest($data); $dataResponse = $httpResponse[0]; $dataResponse['billUrl'] = $this->getEndpoint() . $data['billCode']; return $this->createResponse($dataResponse); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка