added translations

This commit is contained in:
O K
2025-12-14 20:53:54 +02:00
parent f90c8d5f81
commit f4c4ceaec7
5 changed files with 20 additions and 10 deletions

View File

@@ -263,12 +263,7 @@ class Hutko extends \Opencart\System\Engine\Controller
public function response(): void
{
// Post-Redirect-Get pattern.
// Accepts the POST from Gateway, then redirects user via GET to restore Session/Cookies.
// This ensures the Cart is cleared and User is not logged out.
// If the gateway passes specific error flags in POST, you could check them here
// and redirect to checkout/failure instead. For now, we assume success flow.
$this->response->redirect($this->url->link('checkout/success', 'language=' . $this->config->get('config_language'), true));
}