added translations
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user