Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay/vendor/omnipay/netcash/src/Message/PurchaseResponse.php
Ðазад
<?php namespace Omnipay\NetCash\Message; use Omnipay\Common\Message\AbstractResponse; use Omnipay\Common\Message\RedirectResponseInterface; /** * Class PurchaseResponse * @package Omnipay\NetCash\Message */ class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface { /** * Gateway endpoint * @var string */ protected $endpoint = 'https://paynow.netcash.co.za/site/paynow.aspx'; /** * Set successful to false, as transaction is not completed yet * @return bool */ public function isSuccessful() { return false; } /** * Mark purchase as redirect type * @return bool */ public function isRedirect() { return true; } /** * Get redirect URL * @return string */ public function getRedirectUrl() { return $this->endpoint; } /** * Get redirect method * @return string */ public function getRedirectMethod() { return 'POST'; } /** * Get redirect data * @return array|mixed */ public function getRedirectData() { return $this->data; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка