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.


Link to comment
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.


Link to comment
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.

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...