I need how the checkout_process.php will know if its Approved or not.
I am using 2checkout module as base,
The CC is billed but when its returend to site it goes to checkout payment page with
"There has been an error processing your credit card. Please try again." this error. this is for MIRAPAY gateway.
Can anyone help?
Code:if ($result != 'APPROVED') { $messageStack->add_session('mirapy_payment', , 'error'); $redirect_url = zen_href_link(FILENAME_MIRAPAY_PAYMENT, '', $ssl_str, true, false); } else { $redirect_url = zen_href_link(FILENAME_CHECKOUT_PROCESS, 'cID=' . $co_id, $ssl_str, true, false); } //FIREFOX FIX $redirect_url = str_replace('&', '&', $redirect_url); echo $redirect_url; ?> <body> <script type="text/javascript" language="javascript">window.location="<?php echo $redirect_url; ?>"</script> <noscript> If you are not redirected please <a href="<?php echo $redirect_url; ?>">click here</a> to confirm your order. </noscript> </body>



