File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/sagepay/src/Message/CaptureRequest.php
Back
<?php namespace Omnipay\SagePay\Message; /** * Sage Pay Capture Request */ class CaptureRequest extends AbstractRequest { protected $action = 'RELEASE'; public function getData() { $this->validate('amount', 'transactionReference'); $reference = json_decode($this->getTransactionReference(), true); $data = $this->getBaseData(); $data['ReleaseAmount'] = $this->getAmount(); $data['VendorTxCode'] = $reference['VendorTxCode']; $data['VPSTxId'] = $reference['VPSTxId']; $data['SecurityKey'] = $reference['SecurityKey']; $data['TxAuthNo'] = $reference['TxAuthNo']; return $data; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings