JS SDK: paypal.MessagesModal responding with wrong content for Pay Later Offers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear developers,
we are using the paypal JS-SDK to trigger the paypal MessagesModal without showing the rendered paypal messages.
However, I am facing the following problem:
As stated in the Docs found at https://developer.paypal.com/docs/checkout/pay-later/de/, "Pay in 30" should only be applied and available if the Product's price is below 1000€.
On our website, if a user clicks a button to check paypal options, we dynamically include the JS SDK and initialize and show the paypal.MessagesModal with the needed amount and currency:
modal = paypal.MessagesModal({})
modal.updateProps({
amount: amount,
currency: "EUR"
})
modal.show()
If the user keeps hiding and opening the modal, the content is changing randomly between "Paypal Ratenzahlung" and "Pay in 30" for all products and prices, be it 20€ or 4500€.
What can I do to only show the "Pay in 30", if the Product's price is below 1000€?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Problem with invoices in REST APIs
- PHP SDK error: broken content-length header in SDKs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- Migrating api.paypal.com endpoint to PayPal Edge CDN in REST APIs