| 1 | <?php |
||
| 19 | class PurchaseResponse extends \Omnipay\Common\Message\AbstractResponse implements RedirectResponseInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string URL to redirect client to payment system. Used when [[isRedirect]] |
||
| 23 | */ |
||
| 24 | protected $_redirect = 'https://sci.interkassa.com/'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Always returns `false`, because InterKassa always needs redirect |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function isSuccessful( ) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Always returns `true`, because InterKassa always needs redirect |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function isRedirect( ) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function getRedirectUrl( ) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Always `POST` for InterKassa |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function getRedirectMethod( ) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritdoc} |
||
| 63 | */ |
||
| 64 | public function getRedirectData( ) |
||
| 68 | } |
||
| 69 |