Hey @baekstboy – I just developed this snippet to help with basic fee calculation. Check it out here: https://github.com/WordImpress/Give-Snippet-Library/blob/master/form-customizations/basic-fees.php
Here’s a preview of how it works:

Please check it out and let me know if you have any questions!
I’m really happy there is an answer to this question but I’m not familiar with using code snippets, what do I do with this code?
Thank you!
Hi @meadepmccoy – We’ve put together this article to help with that: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/
The code written for the basic fees in written to be a standalone plugin. Essentially, you can download the basic-fees.php and place it in your WordPress website’s wp-content/plugins/ directory and it will show up in your plugin list in wp-admin. Then you can activate it and test it out.
Hi @dlocc,
We’re intrigued by your basic-fees snippet. Great idea – –
We’ve installed basic-fees.php into wp-content/plugins on our staging site, and we see the plugin in the wp-admin dash. It’s not clear, though, how to set the basic-fee percentage. Can you enlighten us?
Also, including the gateway basic-fee should perhaps be optional. Can we add a User check box option:
* [ ] I’d like to contribute the basic-fee of XX%.
Admin should probably have the option to set the User basic-fee check box as user Opt-In, or user Opt-Out.
Thank you kindly from Kansas USA
Hey @leojohns88 – The basic fee percentage is set under an option that appears under WP-Admin > Donations > Settings > Payment Gateways > Fee Percentage.
Superb; thanks for the info.
We hope to refine with additional features – like Opt-In/Out. When/if we complete and test, we’ll point you to it in case there’s interest.
Thank you for your help, is there a way to make adding the 2% optional for the donor?
Was anyone here ever able to figure out how to add opt-in/opt-out?
We’re building an official Addon for this now. We hope to release it very soon.