This recipe demonstrates how to use the pmpro_set_application_fee_percentage filter to adjust the default fee added to sites using Stripe Connect in PMPro v2.6+. You can use this filter to increase or decrease the default fee added to unlicensed PMPro sites that use Stripe Connect.


About Stripe Connect Fees

Users who are connected through the Paid Memberships Pro Stripe Connect interface are charged an additional 1% per transaction. This fee goes to Stranger Studios, the developers of Paid Memberships Pro, and is used to support the Connect server, Stripe gateway development, and the Paid Memberships Pro platform in general. Members of our PMPro Plus and Unlimited levels with an active License Key validated on their site will avoid that 1% fee on all new orders and subscriptions.

Developers can use the code recipe below to adjust the fee. This adjustment will only apply to new orders and is not retroactive. For example, if you use this recipe to remove the fee, it will not remove the fee from past orders or new recurring subscription payments.

The Code Recipe


Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Line 12 of this recipe is active and sets the application fee to 0%. This means that you will not contribute any additional fee amount to Stranger Studios for use of the open source Paid Memberships Pro plugin. Line 13 demonstrates how to increase the fee to 2.5% as a gesture of your appreciation for ongoing support and development of the Paid Memberships Pro platform.

David Parker

Code Author: David

David is a Product Manager at Paid Memberships Pro. He manages development for several of our Add Ons and contributes to the development of the core PMPro plugin.