# Customize the Pay Later messaging layout on CubeCart (/v5/pay-later/cubecart/gb)



Promote PayPal Pay Later products using messaging on your CubeCart store.

PayPal offers short-term, interest-free payments that buyers can use to buy now and pay later. You get paid up-front.

Pay Later messaging includes Pay in 3, which UK buyers can use to pay for purchases of £20.00 to £3,000 in three, interest-free payments. It also includes **Pay in 30 Days**, which UK buyers can use to pay the full amount in 30 days with no interest or fees, for purchases of £1 to £900.

## Know before you begin [#know-before-you-begin]

* Before you begin, learn more about [Pay Later products](/pay-later/overview).
* Pay Later products are automatically enabled with CubeCart for merchants on the latest version of the PayPal Commerce Platform integration.
* UK-based consumers are eligible for Pay Later products across most of our integrations. As a merchant, you're eligible to promote these Pay Later products if you are a UK-based PayPal merchant with a UK-legal business entity, a UK-facing website, transacting in GBP, and a one-time payment integration. At this time, promoting Pay Later products is not available on PayPal vaulted payments or billing agreement integrations.
* Pay Later products also follow the [PayPal Acceptable Use Policy](https://www.paypal.com/uk/webapps/mpp/ua/acceptableuse-full?locale.x=en_GB), which governs the usage of PayPal and prohibits the use of PayPal and Pay Later products for certain types of transactions, such as real money gaming and firearms.
* Please note that while messaging can be displayed on your website to help promote Pay Later products to your customers, no additional content, wording, marketing, or other material should be created by you to encourage use of this product. PayPal reserves the right to take action in accordance with the User Agreement.
* Creating your own Pay in 3 or Pay in 30 Days content or using the JS SDK outside of the terms of the User Agreement may result in you communicating an unauthorized financial promotion, which can involve criminal sanctions under S21 Financial Services and Markets Act 2000.

## How it works [#how-it-works]

### Pay Later messaging on a product detail page [#pay-later-messaging-on-a-product-detail-page]

![Example,web,product,page](https://www.paypalobjects.com/devdoc/cubecart-example-web-product-page-uk.jpg)

### Pay Later messaging at basket [#pay-later-messaging-at-basket]

![Example,web,basket](https://www.paypalobjects.com/devdoc/cubecart-example-web-basekt-uk.jpg)

## Enable PayPal Commerce Platform [#enable-paypal-commerce-platform]

> **Note:** **Note:** PayPal Commerce requires CubeCart version 6. Please ensure the PayPal plugin is at least 1.5 for Pay Later products and messaging.

1. Find your PayPal Commerce plugin version on the [CubeCart extensions page](https://www.cubecart.com/extensions/plugins/paypal-commerce).

2. Select the lightning bolt symbol next to your version and copy the **Auto Install/Upgrade Token**.

3. Log in to your CubeCart v6 store admin panel.

4. Go to **Manage Extensions** to enter your token.

## How to enable Pay Later if you already are on PayPal Commerce Platform [#how-to-enable-pay-later-if-you-already-are-on-paypal-commerce-platform]

If you are a merchant already using the PayPal Commerce Platform you may not have Pay Later options or messaging if you are not on the latest version of the extension. We recommend upgrading to the latest version following the steps below. Once at the latest version the Pay Later button and messaging will be active by default.

1. Visit [https://www.cubecart.com/extensions/plugins/paypal-commerce](https://www.cubecart.com/extensions/plugins/paypal-commerce)

2. Click the thunderbolt icon next to the latest version.

3. Copy the **Auto Install/Upgrade Token** to your clipboard.

4. Login to the admin side of your store and navigate to **Manage Extensions**.

5. Paste your token into the text field at the top of the page and click Go.

6. The extension will update automatically and page will reload.

7. On the list of installed extensions click on PayPal Commerce Platform to verify your settings.

## How to enable Pay Later if you are on an old integration [#how-to-enable-pay-later-if-you-are-on-an-old-integration]

Upgrading to the PayPal Commerce Platform from older integrations such as PayPal Standard is straightforward.

1. Find your PayPal Commerce extension version on the [CubeCart extensions page](https://www.cubecart.com/extensions/plugins/paypal-commerce).

2. Select the lightning bolt symbol next to your version and copy the **Auto Install/Upgrade Token**.

3. Log in to your CubeCart v6 store admin panel.

4. Go to **Manage Extensions** to enter your token.

5. From the list of installed extensions select PayPal Commerce Platform.

6. Click the PayPal branded Connect button and follow the instructions.

Once complete your older integrations will be automatically disabled and Pay Later is enabled by default.

## Customising the messaging layout & appearance [#customising-the-messaging-layout--appearance]

From the PayPal Commerce configuration page in the admin control panel of your store you can:

* Enable or disable the Pay Later button.

* Specify where you do and don't want messaging to display.

* Configure the messaging style.

![Screenshot](https://www.paypalobjects.com/devdoc/cubecart-screenshot-config.jpg)

To customize the look and feel of the button and text please expand the **Advanced Settings** section.

![Screenshot](https://www.paypalobjects.com/devdoc/cubecart-screenshot-advanced.jpg)

Pay Later messaging is assigned to the page by specifying the DOM element it attaches on to. This is defined by the `config.foundation.json` file. To customize this please rename the file to config.custom.json or replace custom with the folder name of the skin in use. The DOM elements can be edited from within the JSON object.

## Test PayPal Commerce Platform in sandbox module [#test-paypal-commerce-platform-in-sandbox-module]

Please ensure the PayPal extension is at least 1.5 for the best Pay Later products and messaging experience. If not please upgrade following the instructions in the previous section titled **Enable PayPal Commerce Platform**.

1. If in Live Mode, select **Disconnect your PayPal account**.

2. Open the `modules/plugins/paypal_commerce/env.inc.php` file. Change `const ENV_SANDBOX = false` to `const ENV_SANDBOX = true`.

3. Connect your [PayPal sandbox account](/developer/accounts).

4. To switch back to live, repeat the first 3 steps and revert to `true`. Reconnect to your live account.

## See also [#see-also]

* [See the PayPal Commerce plugin for CubeCart](https://www.cubecart.com/extensions/plugins/paypal-commerce) to learn more.

* [Return to Commerce Platforms](/v5/pay-later/commerce-platforms/)
