Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


Change Layout For PayPal Hosted ~ paypal_pro_hs.php

Recommended Posts


I am trying to change the layout for PayPal Hosted.

I first tried within my PayPal account using "Customise Website Payments Pro Hosted Solution" but soon realized it must be coded in.

I visited paypal_pro_hs.php and noticed that there is a piece of code stating 'template' => 'templateD', I changed this to C but it made the PayPal card section disappear so I have reverted back for now.

Please can someone help? Thank you in advance.


Share this post

Link to post
Share on other sites

Here is an image which PayPal support sent to me.

I need to somehow change the settings to either A,B or C so that PayPal hosted page is automatically mobile friendly, my website must be showing up as MiniLayout which is not mobile-friendly.

Please can anyone assist me with this issue, thank you in advance.


Share this post

Link to post
Share on other sites
1 minute ago, JcMagpie said:

This is done in your paypal account settings not in osC.


@JcMagpie thank you for your reply.

I have tried changing the settings within my PayPal account but after changing it to A,B or C a blank screen appears, so I assume it must be coded in somewhere and set to MiniLayout.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now