Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/yinsee/omnipay-billplz/src/Message/PurchaseRequest.php
Ðазад
<?php namespace Omnipay\Billplz\Message; /** * Purchase Request */ class PurchaseRequest extends AbstractRequest { protected function createResponse($data, $statusCode) { return $this->response = new PurchaseResponse($this, $data, $statusCode); } public function getHttpMethod() { return 'POST'; } public function getAPI() { return 'bills'; } public function getData() { $data = []; $data['collection_id'] = $this->getParameter('collectionId'); $data['description'] = $this->getParameter('description'); $data['email'] = $this->getParameter('email'); $data['name'] = $this->getParameter('name'); $data['amount'] = intval($this->getParameter('amount')*100); $data['callback_url'] = $this->getParameter('notifyUrl'); $data['redirect_url'] = $this->getParameter('returnUrl'); return $data; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка