Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.14.0 – (Release: October 22 2024)
* Fix – Resolved all PHPCS warnings and aligned the code with WordPress Coding Standards to enhance quality and maintainability.
* Fix – Strings that have not been translation ready.
* Fix – PHP warning: “Invalid argument supplied for foreach()” appearing in the debug log.
* Fix – License fields incorrectly visible upon plugin activation.
* Fix – Compatibility issue with the WooCommerce Authorize.Net Gateway plugin.
* Fix – Warning displayed on the single product page when the “Info on single product page” option is enabled.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.13.0 – (Release: July 23 2024)
* Fix – When the shipping method is empty, a warning appears on the payment gateway fees page.
* Fix – With the WooCommerce Checkout block, the Payment Gateway fees was not changing when the payment gateway is changed.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.12.2 – (Release: July 03 2024)
* Fix – Fixed fatal error shown when activating our PGBF Pro plugin with the ‘WooCommerce Table Rate Shipping’ plugin is active.
* Fix – Fixed Invalid and Expired license key message is shown when trying to activate the license key from the welcome page of the plugin.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.12.1 – (Release: June 25 2024)
* Fix – Fixed fatal error when payment gateway based fee was enabled to show on the product page after v2.12.0 update.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.12.0 – (Release: June 25 2024)
* Enhancement – Added include/exclude fields for shipping methods that add the fees based on the selected method.
* Fix – Fixed new UI changes for the license activation process.
* Fix – Fixed some errors are shown in the HTTP API Calls when Query Monitor plugin is activated.
* Fix – Fixed payment gateway fees from our plugin are added twice when Woo Discount Rules plugins are activated.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.11.1 – (Release: April 02 2024)
* Fix – Cross Site Request Forgery (CSRF) vulnerability.
* Fix – The discount is calculated wrong for the payment gateway on the checkout page when more than one product is added to cart.
* Tweak – Update compatibility with WordPress 6.5
* Tweak – Update compatibility with WooCommerce 8.7
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.11.0 – (Release: February 27 2024)
*Fix – Fixed some PHP warnings appearing in version 8.3.0.
*Fix – Fixed Payment Gateway Fees when the order is updated on the admin side.
*Fix – Fixed Payment Gateway Fees and Discount Fees calculation when set at the site’s product level for the variable product.
*Fix – Fixed Payment Gateway Fees on the Checkout Block Page.
*Fix – Fixed Payment Gateway Fees are not carried forward or passed to the suborders when the parent order contains more than one vendor’s products.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.10.0 – (Release: September 12 2023)
* Enhancement – Added option for setting the ‘Global Extra Fee’ as a fixed amount or a percentage-based.
* Enhancement – Added filters to Allow to set different fees for each payment gateway based on countries.
* Fix – When no Payment Gateways are enabled in WooCommerce, the checkout page continuously loads.
* Fix – Added Deactivation Survey & Tracking Data modules for plugin.
* Fix – Tax is added automatically on the checkout page when we add “Additional Fee” for the payment gateway.
* Fix – Getting Fatal error with PHP 8.2
* Fix – High-Performance Order Storage incompatibility notice when both the Lite & Pro plugins are activated on the store.
* Fix – The fees/discount is getting applied on the item amount of the cart instead of the original WooCommerce price.
* Fix – Incorrect total amount is being considered for calculating the fees, when repaying the order that already has a custom fee added.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.9.0 – (Release: March 14 2023)
* Enhancement – Use Language selected for individual user instead the WordPress Site Language.
* Fix – Fatal error appear when we try to add subscription product in to cart page.
* Fix – Discount is not calculating correctly.
* Fix – Fatal Error with PHP 8 when we try to repay subscription/renewal order.
* Fix – Unable to Activate/Deactivate the license key.
* Fix – Compatibility issue with ‘Aelia Currency Switcher for WooCommerce’ plugin.
* Fix – Error while testing with HPOS.
* Fix – Compatibility with Bykea.Cash – Online Payments plugin.
* Fix – For variable product, the payment gateway information is getting displayed multiple times on product page.
* Fix – On Repay for order page one cannot enter the credit card details with Square payment gateway.
* Fix – With PHP 8, payment section is continuously loading.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.8.0 – (Release: November 01 2022)
* Enhancement – Introduced compatibility with WooCommerce High Performance Order Storage.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.7.0 – (Release: May 03 2022)
* Fix – Not compatible with WPML, dynamic strings are not translatable.
* Enhancement – Description of the text boxes in the Info page settings are not proper.
* Enhancement – Added notice for the activating the plugin license.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.7 – (Release: March 19 2022)
* Dev – Added a filter to remove the ‘(incl. tax)’ text from fees on the checkout page.
* Fix – Credit card fields were not available when trying to add the payment method on the My Account page.
* Fix – On trying to repay the order, fees were not getting calculated correctly.
* Fix – Fees were not getting calculated correctly with WPC Composite Products for WooCommerce plugin.
* Fix – Compatibility with TeraWallet plugin.
* Fix – Issues with PHP 8.0
* Fix – On the edit/add order page, checkbox for applying fees was getting unchecked after clicking on recalculate button.
* Fix – Afterpay payment method section of Payment plugins for stripe WooCommerce plugin was not coming on the settings page.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.6 – (Release: September 28 2021)
* Enhancement – Added a checkbox on the edit order page to add the payment gateway fees when the order is created from the backend.
* Fix – On Pay for order page credit card details of WooCommerce Stripe Payment Gateway was not getting entered because the fields were not active. This is fixed now.
* Fix – On Pay for order page credit card details of WooCommerce Square payment gateway plugin was not getting entered because the fields were not active. This is fixed now.
* Fix – Fixed some PHP warnings coming on the checkout page when payment gateway fees are set in a negative value.
* Fix – When the order is created manually without any products in it and only WooCommerce fees are added at that time fees were not getting added. This is fixed now.
* Fix – When taxes were enabled on the payment gateway fees, fatal error was coming on the pay for order page. This is fixed now.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.5 – (Release: May 06 2021)
* Fix – Pay for order endpoint was displaying the fees twice in some cases. This is fixed now.
* Fix – Pay for order endpoint was not selecting the payment gateway that was chosen when placing the order. This is fixed now.
* Fix – Fees were wrongly calculated on pay for order page when tax was enabled. This is fixed now.
* Fix – Tax was getting added in the fees when the fees were kept negative. This is fixed now.
* Fix – Compatibility with WooCommerce ERIP Gateway Payment plugin.
* Fix – On product page, info was coming of those payment gateways also in which the fees/discount were not added. This is fixed now.
* Fix – HTML code was coming in the titles of payment gateway on settings page. This is fixed now.
* Fix – On welcome page message was not coming proper. This is fixed now.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.4 – (Release: November 11 2020)
* Update compatibility with WP 5.5
* Update compatibility with WooCommerce 4.6
* Fix – On backend the gateway fees were accepted only as whole numbers. This is fixed now.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.3 – (Release: July 07 2020)
* Fix – A compatibility issue with PayPal Checkout Gateway plugin.
* Fix – Issue on pay-order endpoint where Order ID was not available.
* Dev – Data tracking to improve the plugin and add new features.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.2 – (Release: March 13 2020)
This update to the plugin is for announcing the plugin compatibility with WooCommerce v4.0.0
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.1 – (Release: February 22 2020)
This update to the plugin is for announcing the plugin compatibility with WooCommerce v3.9.x
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.6.0 – (Release: January 13 2020)
* Fix – The fees was not being removed from checkout when a payment gateway was unset using custom code.
* Fix – Compatibility with WooCommerce Country based Payments plugin.
* Feature – Added an Ajax call on ‘Pay-Order’ page. The fees will be now be added /removed from the ‘Pay Order’ page as well.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.7 – (Release: April 19 2019)
This update to the plugin contains some important bug fixes.
* Fix – Fees are not being carried over from the Checkout page to the order.
* Fix – Discounts are not being applied to renewal orders for subscription products.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.6 – (Release: 10/04/2019)
This update to the plugin contains some bug fixes and tweaks.
* Tweak – Added compatibility with WooCommerce Subscriptions.
* Tweak – On a fresh install of the plugin, the admin will now be prompted to enter the license key and activate the same.
* Fix – License key was not being activated successfully.
* Fix – The plugin goes into continuous loading of the cart at Checkout when precision is left blanks for rounding.
* Fix – Added uninstall.php file to ensure the plugin data is deleted when the plugin is uninstalled.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.4 – (Release: 16/10/2018)
* Dev – Current (i.e. chosen) payment gateway function rewritten (fixes the issue with 100% discount coupons on the checkout page – fees were not reapplied when coupon is removed).
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.3 – (Release: 12/10/2018)
* Fix – Coupons usage with “WooCommerce Gift Certificates” plugin fixed.
* Fix – Settings hook priority increased, so gateways fees settings are not loaded too early (fixes the issue with “Mollie Payments for WooCommerce” plugin).
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.2 – (Release: 17/09/2018)
* Dev – Code refactoring.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.1 – (Release: 04/08/2018)
* Fix – Product categories – Calculation type – Categories to exclude – Only for selected products – Option fixed.
* Dev – Admin settings descriptions updated.
* Dev – “States to include/exclude” options added.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.5.0 – (Release: 04/08/2018)
* Dev – Major code refactoring and clean up. Main plugin file and POT file renamed.
* Dev – Admin settings restyled and descriptions updated.
* Dev – “Reset section settings” options added.
* Dev – Raw input now allowed in all “Info” section templates.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.4.0 – (Release: 30/07/2018)
* Dev – “Merge All Fees” added to “General” section.
* Dev – “Global Extra Fee” added to “General” section.
* Dev – Current (i.e. chosen) payment gateway function rewritten (fixes the issue with “zipMoney” payment gateway).
* Dev – “Customer Countries” options added to both fees separately.
* Dev – “Europe”, “European Union”, “Europe excluding EU”, “Eurozone”, “Africa”, “Asia”, “Australia and Oceania”, “Central America”, “North America” and “South America” added as country selection.
* Dev – Eight more countries added to the list.
* Dev – “Info” admin settings section added (options moved from “General” section).
* Dev – Admin settings restyled.
* Dev – Plugin link updated from https://wpcodefactory.com to https://wpfactory.com.
* Dev – Code clean up.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.3.3 – (Release: 07/01/2018)
* Dev – Additional check added in Alg_WC_Checkout_Fees_Settings_Gateways (prevents AJAX error on some servers).
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.3.2 – (Release: 02/01/2018)
* Dev – WooCommerce 3.2 compatibility – WC_Tax::get_tax_total() replaced with get_cart_contents_taxes() and get_shipping_taxes().
* Dev – Additional check for WC()->payment_gateways to be set, added in add_gateways_fees().
* Dev – Additional checks for tax class to exist added (in Core and Info).
* Dev – Additional checks if product’s price is zero added (in Info).
* Dev – Per products settings JS file updated.
* Dev – “WC tested up to” added to the plugin header.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.3.1 – (Release: 26/08/2017)
* Dev – Info – %product_price_diff_percent% replaceable value added.
* Dev – Wrapping div (class alg_checkout_fees) added to meta box settings.
* Dev – “General” settings restyled.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.3.0 – (Release: 16/08/2017)
* Dev – “Aelia Currency Switcher for WooCommerce” plugin currency conversion filter added to: get_max_ranges(), min_cart_amount, max_cart_amount, min_fee, max_fee, min_fee_2, max_fee_2.
* Dev – “Coupons Rule” options added.
* Dev – Code refactoring.
* Dev – Settings restyled.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.2.2 – (Release: 27/07/2017)
* Fix – Removed additional check if add_gateways_fees() has already been executed (was added in v2.2.1).
* Dev – “Delete All Plugin Data” option added.
* Dev – Code cleanup etc.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.2.1 – (Release: 22/07/2017)
* Fix – Per Product – custom_atts for fields (step etc.) fixed.
* Fix – Additional check if add_gateways_fees() has already been executed added (this prevents fees duplicating on some servers).
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.2.0 – (Release: 27/06/2017)
* Dev – WooCommerce 3.x.x compatibility – Deprecated get_price_excluding_tax(), get_price_including_tax(), get_display_price() notices fixed.
* Dev – WooCommerce 3.x.x compatibility – Deprecated get_formatted_variation_attributes() notice fixed.
* Dev – WooCommerce 3.x.x compatibility – Deprecated get_country() notice fixed.
* Dev – “Add Taxes” option added for both global and per product fees.
* Dev – load_plugin_textdomain() moved from init hook to constructor.
* Dev – Plugin header updated (“Text Domain” and “Domain Path” added).
* Dev – Plugin link updated from http://coder.fm to https://wpcodefactory.com.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.1.1 – (Release: 04/10/2016)
* Fix – Bug when local and global fees have same title, fixed.
* Fix – Categories restrictions wrongly applied to per product fees, fixed.
* Dev – “Max Range Options” options section added to “General” settings.
* Dev – “Override Global Fee” (main and additional) option added to per product settings.
* Dev – “Minimum Fee Value”, “Maximum Fee Value”, “Minimum Additional Fee Value” and “Maximum Additional Fee Value” options added to both local and global fees.
* Dev – “Minimum Cart Amount” and “Maximum Cart Amount” options title modified.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.1.0 – (Release: 20/08/2016)
* Fix – Tax bug fixed when “Categories to include – Calculation type” is equal to “Only for selected products”.
* Fix – Tax bug fixed in info.
* Fix – “Categories to include – Calculation type” with value “Only for selected products” fixed when displaying info.
* Dev – “Categories to exclude – Calculation type.” option added.
* Dev – “Categories to include (additional fee).” and “Categories to exclude (additional fee).” options added.
* Dev – Version system added.
* Dev – Author changed.
* Dev – Plugin renamed.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.0.2 – (Release: 06/08/2016)
* Fix – sanitize_title() added to add_gateway_fees_settings_hook() and removed from output_sections().
* Dev – Multisite support added.
* Dev – “Variable Products Info” option added.
* Dev – “Categories to include – Calculation type” option added to global fees.
* Dev – Language (POT) file added.
* Dev – Author changed.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.0.1 – (Release: 10/03/2016)
* Fix – Additional checks in add_gateway_fees_settings_hook().
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v2.0.0 – (Release: 01/03/2016)
* Fix – Checked tab in admin per product fees is marked now.
* Fix – Info on Single Product bugs fixed: for variable products; for percent fees.
* Fix – “General” section in admin settings menu is marked bold by default.
* Dev – %product_title%, %product_variation_atts% added.
* Dev – Info on Single Product – [alg_show_checkout_fees_full_info] and [alg_show_checkout_fees_lowest_price_info] shortcodes added.
* Dev – Info on Single Product – Lowest Price Info on Single Product Page added.
* Dev – Info on Single Product – %gateway_fee_title% and %gateway_fee_value% removed from info.
* Dev – “Add Product Title to Fee/Discount Title” option added to “General > Fees/Discounts per Product” settings.
* Dev – “Hide Gateways Fees and Discounts on Cart Page” option added to “General” settings.
* Dev – “Exclude Shipping” option added for both global and per product fees.
* Dev – “Title” option added for optional “Additional fee” (per product and global).
* Dev – “Customer Countries” (include / exclude) options added to global fees.
* Dev – “Product Categories” (include / exclude) options added to global fees.
* Dev – Compatibility with “Aelia Currency Switcher for WooCommerce” plugin added (for fixed fees; for percent fees compatibility was already there).
* Dev – “Fee Calculation (for Fixed Fees)” options (once / by product quantity) added to per product fees.
* Dev – “Fee Calculation (for Percent Fees)” options (for all cart / by product) added to per product fees.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v1.3.0 – (Release: 27/10/2015)
* Dev – Second optional fee added.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v1.2.0 – (Release: 30/09/2015)
* Dev – Checkout fees/discounts info on single product frontend page added.
Changelog for Payment Gateway Based Fees and Discounts for WooCommerce v1.1.0 – (Release: 04/09/2015)
* Dev – Checkout fees/discounts on per product basis added.