logosur Posted October 11, 2016 Share Posted October 11, 2016 (edited) Hi all, Regarding this post https://www.prestashop.com/forums/topic/327948-paypal-overriding-checkout-page-style-settings/?p=1659034 I've found the answer for paypal module version v3.11 : You must setup a new field attached to the current token, as this Paypal module can't let you define new fields within this express checkout mode, you need to modify the file express_checkout\process.php at line 146. Just add this new line: $fields['PAGESTYLE']='yourpagestylename'; // Only this call need to get the value from the $_GET / $_POST array if (!$this->initParameters(true) || !$fields['CANCELURL']) { return false; } $fields['PAGESTYLE']='yourpagestylename'; // Set payment detail (reference) $this->_setPaymentDetails($fields); $fields['SOLUTIONTYPE'] = 'Sole'; $fields['LANDINGPAGE'] = 'Login'; I hope this helps. Edited October 12, 2016 by logosur (see edit history) Link to comment Share on other sites More sharing options...
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