first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Eservice;
class RequestAction extends Request
{
public function execute($callback = null, $result_from_prev = [])
{
try {
foreach ($result_from_prev as $k => $v) {
$this->_data[$k] = $v;
}
$data = $this->validate();
return $this->_exec_post(Config::$PaymentOperationActionUrl, $data, $callback);
} catch (\Exception $e) {
throw $e;
}
}
public function _get_data_from_prev($result_from_prev)
{
$this->_data["merchantId"] = $result_from_prev["merchantId"];
$this->_data["token"] = $result_from_prev["token"];
}
}