آیکن Payment and Shipping Method Checkout Fee for WooCommerce
افزونه رایگان نسخه 2.1.0

Payment and Shipping Method Checkout Fee for WooCommerce

توسعه‌دهنده: Ivan Popov

توضیحات

Add a percentage or fixed fee to any WooCommerce payment method and shipping method at checkout.

تغییرات این نسخه

2.1.0

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.

Fix: activation routine no longer deletes existing per-method settings and no longer force-resets the fee type to “percentage” on every activation.

Fix: removed is_plugin_active() call that could fatally error during activation on some hosts.

New: per-method Taxable option (previously every fee was implicitly taxable, with no way to change it).

New: declares compatibility with WooCommerce HPOS and Cart & Checkout Blocks.

New: one-time migration of legacy option keys ({id}_name_label, {id}_name_percent, {id}_fee_type) to a clean, prefixed namespace (pmcf_{id}_*).

New: own text domain payment-method-checkout-fee-for-woocommerce (previously strings used the woocommerce domain).

Improvement: configuration now lists every registered payment gateway, not just those available for the current empty admin cart.

Improvement: scripts are now enqueued via wp_enqueue_scripts and only on the checkout page.

Improvement: multi-package carts no longer apply the same shipping-method fee multiple times.

Cleanup: removed unused Monolog dependency and vendor/ directory, shrinking the plugin download significantly.

Cleanup: removed dead admin page and orphaned admin JS/CSS that were not wired up to anything.

Tested up to WordPress 6.9 and WooCommerce 10.7.

2.0.1

Bug fixing with labe