Page 1 of 1

Fetching error on Checkout Payment

Posted: Tue May 17, 2022 5:53 am
by radhavallabh
Hi dear;
I am not able to fetch the error using below redirect it shows a blank message box. Can you please help me understand what am I doing wrong in creating the redirect

Code: Select all

Href::redirect($GLOBALS['Linker']->build('checkout_payment.php',['error_message=' => MODULE_PAYMENT_CC_CANCEL_ERROR_MESSAGE])->set_parameter(session_name(), session_id()));
This was the default

Code: Select all

 tep_redirect(tep_href_link('checkout_payment.php', 'error_message=' . urlencode(MODULE_PAYMENT_CC_CANCEL_ERROR_MESSAGE), 'SSL'));
Thank you in advance;
Very warm Regds./
radhavallabh

Re: Fetching error on Checkout Payment

Posted: Tue May 17, 2022 6:22 am
by ecartz

Code: Select all

'error_message='
should be

Code: Select all

'error_message'