tomas-a-t Posted April 11, 2013 Share Posted April 11, 2013 I have developed a payment module, and the error functiontion in it, is defined as shown below: function get_error() { global $HTTP_GET_VARS; $error = array('title' => MODULE_PAYMENT_ERROR_HEADING, 'error' => ((isset($HTTP_GET_VARS['payment_error']) && tep_not_null($HTTP_GET_VARS['payment_error'])) ? stripslashes(urldecode($HTTP_GET_VARS['payment_error'])) : MODULE_PAYMENT_ERROR_MESSAGE)); return $error; } When a payment error occur during the payment process, I have programed the callback PHP code to redirect to checkout_process.php giving some string to the parameter error_message, in other word sth like this: checkout_process.php?error_message=Payment%20not%20completed. The problem is that checkout_process.php does NOT output the content of the GET parameter error_message. I have already defined those 2 constants, to the english language modules/payment folder : MODULE_PAYMENT_ERROR_HEADING MODULE_PAYMENT_ERROR_MESSAGE What's the problem with the get_error method ?!?!?!?! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2013 Share Posted July 6, 2013 It would not be checkout process, if you are using OsCommerce 2.3 it would need to display the error on checkout payment, a bit more info? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.