joy_kev Posted May 6, 2010 Share Posted May 6, 2010 Hi,I've got two online stores with 1 paypal account. I need to change the paypal button code so each online store have its own paypal email address and pagethis is what paypal said what to do, but I'm not exactly sure how to do it on prestashopTo use the a custom payment page that is not default you will need to use the "page_style" variable in the PayPal button code like so:<input type="hidden" name="page_style" value="NEWNAME">Also to use a different email address for the different website you will also need to set this in the PayPal button code, change the value of the business variable in the code like so:<input type="hidden" name="business" value="[email protected]">If you are using a third party cart system you will need to contact them directly for assistance with this as they are the code owners and will be able to advise on how to make the changes. Link to comment Share on other sites More sharing options...
rocky Posted May 7, 2010 Share Posted May 7, 2010 To change the business value, you just need to go to Payment > PayPal > Configure and change the "PayPal business email". To change the page_layout value is more difficult, since Prestashop doesn't already have a value for it. If you are using Prestashop v1.2.5, you'll need to edit modules/paypal/paypal.tpl. If you are using Prestashop v1.3, you'll need to edit modules/paypal/redirect.tpl. Just add the following along with the other hidden inputs: <input type="hidden" name="page_style" value="NEWNAME"> I have no idea what NEWNAME is supposed to be. Hopefully, you know what to change it to. Link to comment Share on other sites More sharing options...
funny_man Posted January 6, 2013 Share Posted January 6, 2013 Hi Rocky, Any idea how this would be done in v1.5. I have already added the hidden input field and the value is definitely passed to payment.php however the PayPal style does not seem to change. Would be great to have a field in in the PayPal module config where store owners can just add the name of the style they wanted used with that PayPal module. Any ideas on a fix? Thanks Link to comment Share on other sites More sharing options...
LBPC Posted August 1, 2013 Share Posted August 1, 2013 How can I do this on v1.5? Can I still just add the code to modules/paypal/paypal.tpl? Where should it be inserted exactly? Thanks all. 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