User guide
Customising Your PayPal Payment Page
HTML Variables for Payment Page Look and Feel
42
template
The layout template that will be used for your payment page. You can override
the layout template in your account profile settings by passing one of the
following values at transaction time:
NOTE: For Layout templates A, B and C, when a buyer views the payment
page from a supported mobile browser, PayPal automatically displays a
mobile-optimized payment flow instead of the layout template. The
mobile-optimized payment pages cannot be customized and will look
the same for layouts A, B and C.
templateA - Sets the payment page template to layout template A.
templateB - Sets the payment page template to layout template B.
templateC - Sets the payment page template to layout template C.
templateD - Sets the payment page template to the MiniLayout (iFrame
integration) template. When the payment page is viewed from a mobile
browser, PayPal will not display a mobile-optimized flow. The reason is
that if PayPal automatically displayed a mobile optimized embedded
template within a merchant web page that may not be mobile optimized,
this can create unexpected and undesirable results. To display the mobile
optmized payment flow, pass either mobile or mobile-iframe in the
template HTML variable at transaction time.
NOTE: If using template A, B, or C, no action is required to display mobile-
optimized payment pages; PayPal auto-detects if the buyer is on a
mobile browser and automatically displays a mobile-optimized flow.
However, for templateD, which is also known as MiniLayout or the
iFrame integration, to display the mobile optimized payment flow, you
must pass either mobile or mobile-iframe at transaction time.
mobile - Displays the mobile-optimized payment flow. Pass this value if
you are using templateD, which is also known as MiniLayout or the
iFrame integration, and you would like to display the mobile optimized
flow without an iFrame.
mobile-iframe - Displays a mobile-optimized page with an iframe Pass
this value if you are using templateD, which is also known as
MiniLayout or the iFrame integration, and you would like to display the
mobile optimized flow with an iFrame.
TABLE 3.2 HTML Variables for Look and Feel of Payment Page
Variable Description










