I've just upgraded 0.7.8 to RC5 and found that my modified offline (based on cheque) payment method is now broken. My hunting through the forum / bug list suggest this is the change that has done it:
http://forum.opencart.com/index.php/topic,2078.0.html
http://code.google.com/p/open-cart/issues/detail?id=109
However I've not managed to work out what change I need to make to check payment method to make it work again.
Any hints?
Cheers,
Gary
Hi Qphoria,
Thanks for coming back to me so quick.
I could be wrong about the reason the payment module has broken. All I know for certain is that when I add a DIE to checkout_process.php as follows:
It dies with an 'E' which suggests its failing the "does the confirm id = the session id" test.
Cheers,
Gary
Thanks for coming back to me so quick.
I could be wrong about the reason the payment module has broken. All I know for certain is that when I add a DIE to checkout_process.php as follows:
Code: Select all
function validate() {
$language =& $this->locator->get('language');
$request =& $this->locator->get('request');
$payment =& $this->locator->get('payment');
$response =& $this->locator->get('response');
$session =& $this->locator->get('session');
$url =& $this->locator->get('url');
$language->load('controller/checkout_process.php');
if ($request->isPost()) { // Prevent direct loading
if ($session->get('confirm_id') != null) { //ignore validation if payment module doesn't support it (backward compatible)
if ($request->gethtml('confirm_id') != session_id()) { //if it is set but doesn't match then error.
die('E');
$this->error['message'] = $language->get('error_confirm');
}
}
} else {
$this->error['message'] = $language->get('error_confirm');
}
Cheers,
Gary
Ok.. install the new paypal here:
http://forum.opencart.com/index.php/topic,2570.0.html
This includes the fixes to remove the processing validation stuff.
http://forum.opencart.com/index.php/topic,2570.0.html
This includes the fixes to remove the processing validation stuff.
Who is online
Users browsing this forum: No registered users and 3 guests