Paypal Pay Later Messaging not showing the correct installment amount

Paypal Pay Later Messaging not showing the correct installment amount

Siew
New Member
8 0 0

I would like to add Paypal Pay Later messaging on the product page, so that customers know we offer Paypal installment payment method. I have added the following code however the messaging is showing a generic message   Pay in 3 interest-free payments on purchases from £30-£2,000  

 

I prefer the messaging to show the correct installment amount based on the product price, for example: Pay in 3 interest-free payments of £50  for a product priced at £150, can someone help please?

 

<script

src="https://www.paypal.com/sdk/js?client-id=id&currency=GBP&components=messages">

</script>

 

<div

data-pp-message 

data-pp-amount=""

data-pp-style-layout="text"

data-pp-style-text-color="black" 

data-pp-style-logo-type="primary"

data-pp-style-logo-position="left">

</div>

Replies 3 (3)

PageFly-Amelia
Shopify Partner
548 158 226

Hello @Siew 

This is Amelia at PageFly - Shopify Advanced Page Builder app.

 

You can modify the value by adding a value to data-pp-amount. As shown in the example below:

 

<div
data-pp-message 
data-pp-amount="50"
data-pp-style-layout="text"
data-pp-style-text-color="black" 
data-pp-style-logo-type="primary"
data-pp-style-logo-position="left">
</div>

 

 

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

Siew
New Member
8 0 0

Hi, I have tried adding a value to data-pp-amount but it rendered the same amount on every product so it didn't work. 

DigitalHelper
Visitor
2 0 0

To set the product price dynamically for each product in your PayPal Pay Later message on Shopify, you can use the following code snippet:

data-pp-amount="{{ product.price | divided_by: 100.0 }}