version update

This commit is contained in:
O K
2025-05-31 16:31:04 +03:00
parent 9c7cfff5d6
commit 7bd84d8582
2 changed files with 4 additions and 4 deletions

View File

@@ -47,9 +47,9 @@ class HutkoResultModuleFrontController extends ModuleFrontController
public function postProcess(): void public function postProcess(): void
{ {
// Retrieve essential parameters from the request. // Retrieve essential parameters from the request.
$orderStatus = Tools::getValue('order_status', false); $orderStatus = Tools::getValue('order_status');
$transaction_id = Tools::getValue('order_id', false); // This is the combined cart_id|timestamp $transaction_id = Tools::getValue('order_id'); // This is the combined cart_id|timestamp
$amountReceived = round((float)Tools::getValue('amount', 0) / 100, 2); $amountReceived = round((float)Tools::getValue('actual_amount', Tools::getValue('amount', 0)) / 100, 2);
// Basic validation: If critical parameters are missing, redirect to home. // Basic validation: If critical parameters are missing, redirect to home.
if (!$transaction_id || !$orderStatus || !$amountReceived) { if (!$transaction_id || !$orderStatus || !$amountReceived) {

View File

@@ -40,7 +40,7 @@ class Hutko extends PaymentModule
{ {
$this->name = 'hutko'; $this->name = 'hutko';
$this->tab = 'payments_gateways'; $this->tab = 'payments_gateways';
$this->version = '1.1.0'; $this->version = '1.1.1';
$this->author = 'Hutko'; $this->author = 'Hutko';
$this->bootstrap = true; $this->bootstrap = true;
parent::__construct(); parent::__construct();