I'm using the latest PayPal JavaScript SDK and I'm trying to disable the "pay later" funding. The documentation is simple and clear: https://developer.paypal.com/sdk/js/configuration/#link-disablefunding
Steps to reproduce:
USD
with EUR
&disable-funding=paylater
to the list of query parametersThe "pay later" option is still there.
What am I missing here?
To disable the Pay Later button from being rendered as one of the PayPal buttons on your site (next the yellow PayPal one or black Debit or Credit Card one, generally), use &disable-funding=paylater
. You only control what happens on your own page.
Once a payer clicks to go over to the PayPal page, and especially once they sign in, which funding sources will be available are between that payer and PayPal. You do not control this, and indeed you will not be informed which funding source is selected. Billing and funding source information in their account is kept private by design; all you know and really need to be concerned about is receiving a successful PayPal payment.