File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/migs/src/Message/ThreePartyPurchaseRequest.php
Back
<?php namespace Omnipay\Migs\Message; /** * Migs Purchase Request */ class ThreePartyPurchaseRequest extends AbstractRequest { protected $action = 'pay'; public function getData() { $this->validate('amount', 'returnUrl', 'transactionId'); $data = $this->getBaseData(); $data['vpc_SecureHash'] = $this->calculateHash($data); return $data; } public function sendData($data) { $redirectUrl = $this->getEndpoint().'?'.http_build_query($data); return $this->response = new ThreePartyPurchaseResponse($this, $data, $redirectUrl); } public function getEndpoint() { return $this->endpoint.'vpcpay'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings