The code in this download folder enables you to set a fixed fee which is added dynamically on the checkout page based on the payment gateway your buyer chooses to use for purchase as seen in the demo video above.
![Add Checkout Fee by Payment Method](https://wpsites.net/wp-content/uploads/2023/05/woocommerce-checkout-fee-by-payment-method-112212.png)
You can set the fee for each payment option on a per product basis on the Edit Product screen under the Product Data > Simple Product > General tab as seen in the following screenshot :
![Simple Product Custom Fields](https://wpsites.net/wp-content/uploads/2023/05/112212-single-product-custom-fields.png)
Installation
Install the download zip folder as a new plugin or copy & paste the PHP code from the functions file to the end of your child themes functions.php file or custom functionality plugin.
![Payment Gateway Based Fees - WooCommerce](https://wpsites.net/wp-content/uploads/2023/05/112212-plugin-payment-method-based-fees-woocommerce.png)
You must be logged in to post a comment.