Message placement and amount

CurrentDocs

Last updated: Feb 28th, 7:45pm

Select your country or region

Australia France Germany Italy Spain United Kingdom United States

Render effective messaging with message placement and product amount.

Message placement

You can maximize the effectiveness of Pay Later messaging by placing messages strategically throughout your site and providing the product price and cart amount to the JavaScript SDK. The most important and effective messages are lightweight, contextual messages (data-pp-layout="text"), placed near your product's price, and configured with the product's price using data-pp-amount.

To maximize sales, place messages throughout your site, including the home, category, product, and cart pages. More specifically:

When customers arrive: Use more prominent messaging above the fold on your homepage and category pages to show customers they can pay later with pay later offers, making it more likely for them to consider larger purchases.

Pay,later,messaging,image

When customers are shopping: Pay later offers with more subtle messages on product pages, help remind customers they can split their purchase into installments at the point of a purchase decision.

Pay,later,messaging,image

When customers check out: Place subtle messaging near the PayPal button or the cart amount on your checkout pages and shopping cart pages.

Shopping,cart,image

Product or cart amount

data-pp-amount

Use the data-pp-amount attribute to show more relevant messages to your consumers.

Client-side amount updates

If your website updates the price on the client-side using either JavaScript or other client-side methods, refresh your PayPal message by updating the data-pp-amount value. The SDK monitors any changes to the data-pp-amount value and re-renders any updated messages.