File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/targetpay/src/Message/PurchaseResponse.php
Back
<?php namespace Omnipay\TargetPay\Message; use Omnipay\Common\Message\RedirectResponseInterface; class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface { /** * {@inheritdoc} */ public function isSuccessful() { return false; } /** * {@inheritdoc} */ public function isRedirect() { return '000000' === $this->code; } /** * {@inheritdoc} */ public function getRedirectUrl() { $parts = explode('|', $this->data); if (2 == count($parts)) { return $parts[1]; } return null; } /** * {@inheritdoc} */ public function getRedirectMethod() { return 'GET'; } /** * {@inheritdoc} */ public function getRedirectData() { return null; } /** * {@inheritdoc} */ public function getTransactionReference() { $parts = explode('|', $this->data); if (2 == count($parts)) { return $parts[0]; } return null; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings