My client reported this problem to me, after debugging, i saw:
modules\paypal\controllers\front\expresscheckout.php ln: 473
Tools::redirectLink($this->context->link->getPageLink('order-confirmation', true, '&id_cart='.$cart->id.'&id_module='.$this->module->id.'&key='.$customer->secure_key));
And the actual method is:
public function getPageLink($controller, $ssl = null, $idLang = null, $request = null, $requestUrlEncode = false, $idShop = null, $relativeProtocol = false)
So the third parameter is wrong. If i fix it, and put null as third parameter, it works.
Question
dorkster100
My client reported this problem to me, after debugging, i saw: modules\paypal\controllers\front\expresscheckout.php ln: 473
Tools::redirectLink($this->context->link->getPageLink('order-confirmation', true, '&id_cart='.$cart->id.'&id_module='.$this->module->id.'&key='.$customer->secure_key));
And the actual method is:public function getPageLink($controller, $ssl = null, $idLang = null, $request = null, $requestUrlEncode = false, $idShop = null, $relativeProtocol = false)
So the third parameter is wrong. If i fix it, and put null as third parameter, it works.
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now