<html lang="pt-br" dir="ltr"><head></head><body>### [Restricting PayPal Commerce to the PayPal Button Only](https://wpforms.com/developers/restricting-paypal-commerce-to-the-paypal-button-only/)

**Published:** April 20, 2026
**Author:** Umair Majeed

**Content:**

Are you a non-profit using WPForms with PayPal Commerce and want to accept payments through the PayPal button only? By default, PayPal Commerce enables several alternative funding sources such as Apple Pay, Google Pay, Venmo, Pay Later, and regional methods like iDEAL and Bancontact. Non-profit accounts that qualify for PayPal’s discounted rate often need to restrict checkout to the PayPal button to retain that rate.

This tutorial will show you how to disable all alternative payment methods in PayPal Commerce using a custom code snippet, leaving only the PayPal button active.

---

This snippet is compatible with WPForms 1.10.0 and above.

Because of the order in which WPForms loads the Apple Pay and Google Pay components, this snippet will not work correctly if added to your theme’s functions.php file. It must be added as a must-use plugin or through the [WPCode plugin](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/#using-wpcode-plugin-recommended), both of which load early enough for the filters to take effect.

## Adding the Snippet

Once you’ve set up your must-use plugin or installed WPCode, go ahead and add the following snippet to your site.

```

**Categories:** Tutorials, Addons

---

</body></html>