Hide Pay Later in PayPal Commerce payment plugin?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
I want to use the PayPal functionality but I don't want the option for pay later. Can this be removed?
2 years ago
There are some settings to deturming which buttons are displayed
paypalcommercesettings.enabledfunding
and
paypalcommercesettings.disabledfunding
See https://developer.paypal.com/sdk/js/configuration/#link-configureandcustomizeyourintegration

But it does not seem to change the options available once you are logged in to make payment ?

It might be the case you have to contact PayPal to switch off the payment options available to customers - I could not see anything in the PayPal account
2 years ago
Not 100% sure but please check 4.3 on first link here https://docs.nopcommerce.com/en/getting-started/configure-payments/payment-methods/paypal-commerce.html#4-configure-the-payment-method-in-nopcommerce

And check this reply from PayPal official support here https://www.paypal-community.com/t5/PayPal-Payments-Standard/How-to-disable-the-Pay-Later-function-when-using-the-PayPal/td-p/3105451

All you need to do is to disable funding. I hope this helps.

Best regards,
Atul
2 years ago
Thank you, that led me to the solution while reviewing source. I went to the all settings area and searched for "disabledfunding" and added the value "paylater" and that worked.
2 years ago
Glad that it worked for you. Can you please upvote the answer which helped?

NC Software wrote:
Thank you, that led me to the solution while reviewing source. I went to the all settings area and searched for "disabledfunding" and added the value "paylater" and that worked.
2 years ago
This should be a checkbox in the PayPal Commerce plugin so it's more discoverable.

I also don't know why this plugin uses a -1 for display order and it seems to reset at times as well. It's not persisting display order when the site is published again from source I think is when it changes.
2 years ago
The "DisplayOrder" is a property in the plugin's plugin.json file located in the plugin's folder.
So, if "site is published again from source", then what's in source will overwrite it.
2 years ago
Well, here is a reply to this :)

NC Software wrote:
This should be a checkbox in the PayPal Commerce plugin so it's more discoverable.


Best regards,
Atul
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.