Fetching error on Checkout Payment

Open to all! Ask other shopowners for help.
Post Reply
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Fetching error on Checkout Payment

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Fetching error on Checkout Payment

Post by ecartz »

Code: Select all

'error_message='
should be

Code: Select all

'error_message'


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply