How to disable card, paylater and credit ?

doic
Contributor
Contributor

So, I want to let my customers pay through Paypal only (logging into their account), without Pay Later options.

I'm trying with 

 

loadScript({
    'client-id': 'XXX',
    currency: 'EUR',
    'disable-funding': 'credit,paylater,card'
})

 

But it doesn't work (at least not in sandbox)

doic_0-1676117373916.png

Am I doing something wrong, or is this simply impossible ? (in that case, why accept 'credit,paylater,card' as a valid parameter?)

Login to Me Too
3 REPLIES 3

MTS_Chiranjeevi
Moderator
Moderator

Good day @doic,

 

Thank you for posting to the PayPal community.


Yes, you can remove/disable the "Pay Later/card/credit" funding source from the smart button by passing the "disable-funding=paylater" as below:


Sample for reference :


< script src=" https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID & disable-funding=paylater" > < / script >

 

Option Description

cardCredit or debit cards
creditPayPal Credit (US, UK)
paylaterPay Later (US, UK), Pay in 4 (AU), 4X PayPal (France), Später Bezahlen (Germany)


I request to contact your website developer or third party eCommerce to update the SDK script using the above method.

 

To prevent certaibuttons from displaying, see Disable Funding(https://developer.paypal.com/sdk/js/configuration/#disable-funding)

 

If your still facing any issues, please create a MTS ticket via -  https://www.paypal-support.com/s/?language=en_US with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

 

Login to Me Too

doic
Contributor
Contributor

So you're saying it's only possible through the CDN query, not with the loadScript function that you provide ?

Login to Me Too

petebiz
New Community Member

I too was looking for a way to disable the pay later option and couldn't find one. I did more research and learned that if a customer chooses the pay later option, PayPal will pay me the full price of the product, and then collect over time from the customer. That works for me!

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.