Customize the Pay Later messaging layout on CubeCart
Last updated: Sept 23rd, 5:02pm
Promote PayPal Pay Later offers using messaging on your CubeCart store.
PayPal offers short-term, interest-free payments and other special financing options that buyers can use to buy now and pay later. You get paid up-front, and there are no additional costs.
Pay Later messaging include Pay in 4X, which eligible French buyers can use to pay for purchases of 30€ to 2,000€ in four payments.
Know before you begin
- Before you begin, learn more about Pay Later offers.
- Pay Later offers are automatically enabled with CubeCart for merchants on the latest version of the PayPal Commerce Platform integration.
- You are eligible to promote Pay in 4X if you are a France-based PayPal merchant with a France-facing website and a one-time payment integration. Reference Transaction or Recurring Payment integrations are not eligible, as well as certain merchant categories (such as digital goods or non-physical goods).
- Please note that while messaging can be displayed on your website to help promote Pay Later offers 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.
- Pay later offers also follow the PayPal Acceptable Use Policy, which governs the usage of PayPal and prohibits the use of PayPal and pay later offers for certain types of transactions, such as real money gaming and firearms.
How it works
Pay Later messaging on a product detail page
Pay Later messaging at basket
Enable PayPal Commerce Platform
- Find your PayPal Commerce plugin version on the CubeCart extensions page.
- Select the lightning bolt symbol next to your version and copy the Auto Install/Upgrade Token.
- Log in to your CubeCart v6 store admin panel.
- Go to Manage Extensions to enter your token.
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.
- Visit https://www.cubecart.com/extensions/plugins/paypal-commerce
- Click the thunderbolt icon next to the latest version.
- Copy the Auto Install/Upgrade Token to your clipboard.
- Login to the admin side of your store and navigate to Manage Extensions.
- Paste your token into the text field at the top of the page and click Go.
- The extension will update automatically and page will reload.
- 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
Upgrading to the PayPal Commerce Platform from older integrations such as PayPal Standard is straightforward.
- Find your PayPal Commerce extension version on the CubeCart extensions page.
- Select the lightning bolt symbol next to your version and copy the Auto Install/Upgrade Token.
- Log in to your CubeCart v6 store admin panel.
- Go to Manage Extensions to enter your token.
- From the list of installed extensions select PayPal Commerce Platform.
- 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
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.
To customize the look and feel of the button and text please expand the Advanced Settings section.
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
Please ensure the PayPal extension is at least 1.5 for the best Pay Later offers and messaging experience. If not please upgrade following the instructions in the previous section titled Enable PayPal Commerce Platform.
- If in Live Mode, select Disconnect your PayPal account.
- Open the
modules/plugins/paypal_commerce/env.inc.php
file. Changeconst ENV_SANDBOX = false
toconst ENV_SANDBOX = true
. - Connect your PayPal sandbox account.
- To switch back to live, repeat the first 3 steps and revert to
true
. Reconnect to your live account.