{"id":115151,"date":"2019-12-21T08:41:07","date_gmt":"2019-12-21T08:41:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/payment-method-checkout-fee-for-woocommerce\/"},"modified":"2026-05-15T08:33:11","modified_gmt":"2026-05-15T08:33:11","slug":"payment-method-checkout-fee-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/payment-method-checkout-fee-for-woocommerce\/","author":17171769,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.0","stable_tag":"2.1.0","tested":"6.9.4","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"Payment and Shipping Method Checkout Fee for WooCommerce","header_author":"Ivan Popov","header_description":"Payment Method Checkout Fee for WooCommerce","assets_banners_color":"a07af2","last_updated":"2026-05-15 08:33:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/vipestudio.com\/en\/","header_author_uri":"https:\/\/vipestudio.com\/en\/","rating":5,"author_block_rating":0,"active_installs":400,"downloads":5993,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"vipestudio","date":"2024-07-25 10:42:44"},"2.0.1":{"tag":"2.0.1","author":"vipestudio","date":"2024-07-25 10:54:30"},"2.1.0":{"tag":"2.1.0","author":"vipestudio","date":"2026-05-15 08:33:11"}},"upgrade_notice":{"2.1.0":"<p>Important bug-fix release: fees configured in 2.0.x were never applied because of an internal option-key mismatch. Update and verify your fees show on the checkout. Existing settings are migrated automatically.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2429427,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2429427,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","2.0.1","2.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3125152,"resolution":"1","location":"assets","locale":"","width":1247,"height":366},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3125152,"resolution":"2","location":"assets","locale":"","width":1139,"height":780},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":2216180,"resolution":"3","location":"assets","locale":"","width":1876,"height":674}},"screenshots":{"1":"You can find the configuration under WooCommerce \u2192 Settings \u2192 Checkout Fee.","2":"Setup is that simple.","3":"Frontend."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3148,17242,507,3546,286],"plugin_category":[45],"plugin_contributors":[179950],"plugin_business_model":[],"class_list":["post-115151","plugin","type-plugin","status-publish","hentry","plugin_tags-checkout","plugin_tags-fee","plugin_tags-payment","plugin_tags-shipping","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-vipestudio","plugin_committers-vipestudio"],"banners":{"banner":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/banner-772x250.png?rev=2429427","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/icon-256x256.png?rev=2429427","icon_2x":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/icon-256x256.png?rev=2429427","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/screenshot-1.jpg?rev=3125152","caption":"You can find the configuration under WooCommerce \u2192 Settings \u2192 Checkout Fee."},{"src":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/screenshot-2.jpg?rev=3125152","caption":"Setup is that simple."},{"src":"https:\/\/ps.w.org\/payment-method-checkout-fee-for-woocommerce\/assets\/screenshot-3.jpg?rev=2216180","caption":"Frontend."}],"raw_content":"<!--section=description-->\n<p>This plugin lets you attach an extra fee \u2014 either a percentage of the cart subtotal or a fixed amount \u2014 to any WooCommerce payment gateway or shipping method. Configuration lives under <strong>WooCommerce \u2192 Settings \u2192 Checkout Fee<\/strong>.<\/p>\n\n<p>Typical use cases:<\/p>\n\n<ul>\n<li>Pass card-processing surcharges to customers paying with specific gateways.<\/li>\n<li>Add a handling fee for Cash on Delivery.<\/li>\n<li>Add a packaging\/insurance fee for express shipping methods.<\/li>\n<\/ul>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Per-method configuration \u2014 every payment gateway and shipping method has its own settings.<\/li>\n<li>Choose between a <strong>percentage of cart subtotal<\/strong> or a <strong>fixed amount<\/strong>.<\/li>\n<li>Optional <strong>taxable<\/strong> flag so the fee can be included in tax calculations when required.<\/li>\n<li>Customisable fee label shown to the customer.<\/li>\n<li>Works with the classic checkout and the block-based Cart &amp; Checkout.<\/li>\n<li>Declares compatibility with WooCommerce High-Performance Order Storage (HPOS).<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install via the WordPress Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Settings \u2192 Checkout Fee<\/strong> and configure the fee for each payment or shipping method you need.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20is%20the%20configuration%20screen%3F\"><h3>Where is the configuration screen?<\/h3><\/dt>\n<dd><p>WooCommerce \u2192 Settings \u2192 Checkout Fee.<\/p><\/dd>\n<dt id=\"does%20the%20percentage%20fee%20include%20shipping%20or%20taxes%3F\"><h3>Does the percentage fee include shipping or taxes?<\/h3><\/dt>\n<dd><p>No. The percentage is applied to the cart subtotal (line items, before shipping and taxes). Whether the resulting fee is itself taxed is controlled per method by the <strong>Taxable<\/strong> option.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20the%20new%20block-based%20checkout%3F\"><h3>Will it work with the new block-based Checkout?<\/h3><\/dt>\n<dd><p>Yes. The plugin hooks into <code>woocommerce_cart_calculate_fees<\/code>, which fires for both classic and block-based checkout. The block checkout automatically recalculates totals when the customer switches payment method via the Store API.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20woocommerce%20high-performance%20order%20storage%20%28hpos%29%3F\"><h3>Is it compatible with WooCommerce High-Performance Order Storage (HPOS)?<\/h3><\/dt>\n<dd><p>Yes \u2014 compatibility is declared with both <code>custom_order_tables<\/code> and <code>cart_checkout_blocks<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Fix: percentage and fixed fees were never actually added to the cart because of a mismatch between the option key used by the settings UI and the one read at checkout. Fees now apply as configured.<\/li>\n<li>Fix: activation routine no longer deletes existing per-method settings and no longer force-resets the fee type to \"percentage\" on every activation.<\/li>\n<li>Fix: removed <code>is_plugin_active()<\/code> call that could fatally error during activation on some hosts.<\/li>\n<li>New: per-method <strong>Taxable<\/strong> option (previously every fee was implicitly taxable, with no way to change it).<\/li>\n<li>New: declares compatibility with WooCommerce HPOS and Cart &amp; Checkout Blocks.<\/li>\n<li>New: one-time migration of legacy option keys (<code>{id}_name_label<\/code>, <code>{id}_name_percent<\/code>, <code>{id}_fee_type<\/code>) to a clean, prefixed namespace (<code>pmcf_{id}_*<\/code>).<\/li>\n<li>New: own text domain <code>payment-method-checkout-fee-for-woocommerce<\/code> (previously strings used the <code>woocommerce<\/code> domain).<\/li>\n<li>Improvement: configuration now lists every registered payment gateway, not just those available for the current empty admin cart.<\/li>\n<li>Improvement: scripts are now enqueued via <code>wp_enqueue_scripts<\/code> and only on the checkout page.<\/li>\n<li>Improvement: multi-package carts no longer apply the same shipping-method fee multiple times.<\/li>\n<li>Cleanup: removed unused Monolog dependency and <code>vendor\/<\/code> directory, shrinking the plugin download significantly.<\/li>\n<li>Cleanup: removed dead admin page and orphaned admin JS\/CSS that were not wired up to anything.<\/li>\n<li>Tested up to WordPress 6.9 and WooCommerce 10.7.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Bug fixing with label title.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Major update with significant improvements.<\/li>\n<li>Settings moved into the WooCommerce Settings tab.<\/li>\n<li>Enhanced code quality.<\/li>\n<li>Added an option to set a fixed fee.<\/li>\n<li>Added support for shipping method fees.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Code Improvement.<\/li>\n<li>Added checks if WooCommerce is enabled so the website won't crash if you disable it.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release \u2014 19.11.2019.<\/li>\n<\/ul>","raw_excerpt":"Add a percentage or fixed fee to any WooCommerce payment method and shipping method at checkout.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/115151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=115151"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vipestudio"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=115151"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=115151"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=115151"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=115151"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=115151"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=115151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}