How to remove 'Pay Later' button from checkout page?

VA23
Contributor
Contributor

Hi - I'm working on implemented the checkout form on our site using the JavaScript SDK and smart buttons. I do not want a 'Pay Later' button to appear. Only the standard PayPal button and the Debit/Credit Card button.

 

I see in the SDK you can set up a funding source option and disallow certain funding types. This appears to be doing nothing, including on the demo site.

 

For example, I include this in my Javascript:

funding: {
allowed: [ paypal.FUNDING.CARD ],
disallowed: [ paypal.FUNDING.CREDIT ],
},

 

Yet it still appears. What am I doing wrong?

 

Thank you in advance

Login to Me Too
1 REPLY 1

wooxec
New Community Member

&disable-funding=paylater"

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.