Enable Pay Later messaging for IWD on Magento 2
DocsCurrentLast updated: August 26th 2021, @ 2:36:27 pm
Promote PayPal Pay Later offers using messaging with the IWD plugin on your Magento 2 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 includes Pay in 3, which UK buyers can use to pay for purchases of £30 to £2,000 in three, interest-free payments.
Know before you begin
- Before you begin, learn more about Pay Later offers.
- Pay Later messaging is enabled for new merchants. If you're an existing merchant, enable the messaging.
- UK-based consumers are eligible for Pay Later offers across most of our integrations. As a merchant, you're eligible to promote Pay in 3 if you are a UK-based PayPal merchant with a UK-legal business entity, a UK-facing website, and a one-time payment integration. At this time, promoting Pay Later offers is not available on PayPal vaulted payments or billing agreement integrations.
- 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.
- 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.
How it works
This integration provides the following options:
|Customizable messaging||Merchants can change the logo type, logo position, and text color for Pay Later messaging.|
|Messaging display options||By default, Pay Later messaging displays on the Mini-cart, Shopping Cart, and Checkout pages.|
|Messaging using shopping cart amounts||By default, IWD Checkout passes the shopping cart amount to all Pay Later messaging.|
|PayPal messaging-ready product page||Merchants can display Pay Later messaging on the product page by adding an HTML element in their product layouts.|
Enable the messaging
Manually add Pay Later messaging on any product page.
- Find your product page files, which is often in the folder: app/design/frontend/PACKAGE_NAME/THEME_NAME/Magento_Catalog/templates/product/price/final_price.phtml.
- Open the file and at the end of the text, copy and paste the following HTML code:
<div data-pp-message data-pp-placement="product" data-pp-amount="500.00" data-pp-style-layout="text" data-pp-style-logo-type="alternative" data-pp-style-logo-position="top" data-pp-style-text-color="black"></div>
Customize the messaging
- Replace the value of
data-pp-amountto display a product price. Update this value if you want to display a different price.
- Customize the Pay Later messaging layout by referring to the customize the messaging page.
You have enabled Pay Later messaging for IWD on Magento 2.
See the IWD documentation to learn more about Pay Later messaging for IWD on Magento 2.