Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/sagepay/src/Message/ServerAuthorizeResponse.php
Ðазад
<?php namespace Omnipay\SagePay\Message; /** * Sage Pay Server Authorize Response */ class ServerAuthorizeResponse extends Response { /** * The initial Server response is never complete without * redirecting the user. * * @return bool false */ public function isSuccessful() { return false; } /** * Only redirect if the status indicates the pre-auth details are acceptable. * * @return bool */ public function isRedirect() { return in_array( $this->getStatus(), [static::SAGEPAY_STATUS_OK, static::SAGEPAY_STATUS_OK_REPEATED] ); } /** * @return string|null URL if present */ public function getRedirectUrl() { return $this->getDataItem('NextURL'); } /** * @return string Always GET */ public function getRedirectMethod() { return 'GET'; } /** * @return array empy array; all the data is in the GET URL */ public function getRedirectData() { return []; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка