Payment Gateway Based Fees and Discounts for WooCommerce

Rated 3.70 out of 5 based on 10 customer ratings
(10 customer reviews)

Set fees or discounts for WooCommerce payment gateways.

Clear

Author: tychesoftwares SKU: N/A Category: Tags: , , Version: 2.5.5; Last updated: 3 months ago; Requires WordPress version: 4.4; Tested up to: 4.9

Description

Payment Gateway Based Fees and Discounts for WooCommerce plugin extends WooCommerce by adding options to set fees or discounts based on customer selected payment gateway.

Fees and discounts can be added to to all payment gateways, both:

  • standard WooCommerce payment gateways (Direct Bank Transfer (BACS), Cheque Payment, Cash on Delivery and PayPal),
  • custom payment gateways added with any other plugin.

Fees and discounts by payment gateway can be set:

  • globally for all products, or
  • on per product basis.

Plugin requires minimum setup – after enabling the fee/discount for selected gateway, you can set:

  • fee/discount value,
  • fee/discount type: fixed or percent,
  • additional fee,
  • minimum and maximum fee/discount values,
  • minimum and/or maximum cart amount for adding the fee/discount,
  • rounding options,
  • taxation options,
  • shipping options,
  • product categories,
  • customer countries.

To set fees/discounts globally for all products, go to WooCommerce > Settings > Payment Gateway Based Fees and Discounts, and select gateway section:

Checkout Fees and Discounts for WooCommerce - Global PayPal Fees Example

Another option lets you set fees/discounts based on customer’s country (include or exclude).

Checkout Fees and Discounts for WooCommerce - Customer Country

Additionally you can set which product categories should be included or excluded when calculating the fee.

Checkout Fees and Discounts for WooCommerce - Product Categories

To set fees/discounts on per product basis, go to product edit, find “Checkout Fees And Discounts” metabox, and select gateway tab:

Checkout Fees and Discounts for WooCommerce - per Product Fees Example

Additionally you can choose if per product percent fee/discount is applied to the whole cart or only for current product.

Also it’s possible to set if per product fixed fee/discount is applied once or by product quantity.

To set discount instead of fee, just enter negative value for fee value.

Tips & Tricks

You can set different fees to be added for customers from different countries for same gateway. You can do that by using “Main Fee” and “Additional Fee” – each fee has its own “Countries to include/exclude” options. You may also want to add fixed value for both fees – this can be done by using “Global Extra Fee” (in “WooCommerce > Settings > Payment Gateway Based Fees and Discounts > Global Extra Fee”).

For example, let’s say you want to add a PayPal fee: 2,9% + $0,35 for customers from USA and 4,5% + $0,35 for customers from elsewhere. In this case you would need to:

  1. Set PayPal “Main fee” to 2,9% and set “Countries to include” to “USA”.
  2. Set PayPal “Additional fee” to 4,5% and set “Countries to exclude” to “USA”.
  3. Enable “Global Extra Fee”, set it to $0,35 and set “Exclude from gateways” option there to all gateways except PayPal.

If you have “Payment Gateway Based Fees and Discounts for WooCommerce Pro” plugin version below v2.5.0 – you will need to update plugin manually by downloading it from your account page at https://wpfactory.com/my-account/downloads/. After that updates will be done automatically with WPCodeFactory Helper plugin.

Free vs Pro

Pro version has all the same features as free version plus:

  • “All products” payment gateways fees and discounts: Customer countries options (not available in free version)
  • “All products” payment gateways fees and discounts: Customer states options (not available in free version)
  • “All products” payment gateways fees and discounts: Product categories options (not available in free version)
  • “Per product” payment gateways fees and discounts: all gateways (in free version it’s Direct Bank Transfer (BACS) only)

Prices & Licenses

Single siteUnlimited sites
1 year $39.00 / year $149.00 / year
Lifetime $99.00 $199.00

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.

10 reviews for Payment Gateway Based Fees and Discounts for WooCommerce

  1. Rated 5 out of 5

    Kyle

    Most complete payment fees plugin for WooCommerce I’ve found. Thanks guys!

  2. Rated 3 out of 5

    Selim

    Hello,

    Just downloaded and tested. Realy nice interface and looks usefull.

    But one thing that stop us.

    We have 2 different VAT values by our products. some have %18 and some have %8. If we choose for example %18 in the plugin for referenece, the VAT of goods with %8 VAT is calculated form the list price and not from the discounted unit price which is wrong.

    If you correct this please soon, we are ready to purchase.

    Best regards

  3. Rated 3 out of 5

    E

    The plugin doesn’t work anymore after the last update.
    Using php7 on the latest wordpress + woocommerce, plugin did work fine before.

    • Algoritmika Ltd.

      Hi,

      Please update to v2.2.2 – this should be fixed now.

      Best regards,
      Tom

  4. Rated 4 out of 5

    Marian Kadanka

    Currency switching support via ‘wc_aelia_cs_convert’ filter is inconsistent. Filed a bug report at https://wordpress.org/support/topic/currency-switching-inconsistency/

    • Algoritmika Ltd.

      Hi,

      Fixed in v2.3.0.

      Best regards,
      Tom

  5. Rated 3 out of 5

    Jeff

    Hi! the plugins calculates the fee but is not adding it to the checkout.

  6. Rated 5 out of 5

    mcdc.digital (verified owner)

    Works great! I thought the plugin was broken, but realized that I needed to set up BOTH the payment gateway (PayPal) fees AND the general options in order for it to work. Would be lovely if the documentation was updated. Thank you so much for your work!

    V2.3.1 used with WooCommerce V3.2.3 on PHP 7

  7. Rated 4 out of 5

    Bogdan

    The plugin functionality is very good, but it slows down our site tremendously.

  8. Rated 3 out of 5

    Brandon

    This plugin was working well, but recently it started listing our convenience fee twice. Deleting and reinstalling didn’t fix the problem. Nothing obvious shows up in the code or database.

    Our support ticket has gone unanswered for five days

    • Algoritmika Ltd.

      Hi,

      In case anyone else has similar issue – as we’ve figured out in private emails, this is some compatibility issue with “Simple Sales Tax” plugin.

      Hope that helps.

      Best regards,
      Tom

  9. Rated 2 out of 5

    Mahesh Vanneldas

    Hi

    I have just installed in it, It works fine when the customers is logged and on checkout page

    BUT, if the customer is using GUEST CHECKOUT then this is not working. Please can you look into it, for us our most of the orders are from GUEST USERS only.

    • Tom Anbinder (verified owner)

      In case if anyone else had similar issues – as we figured out in private emails – the problem was actually not in logged/unlogged users, but in incorrect “Coupons rule” option configuration for the fee.

  10. Rated 5 out of 5

    Rob

    This thing is perfect, however we use dynamic pricing plugins does this offer dynamic pricing 1-20, 50-100 100+ (for example) or do any dynamic pricing work with it out of the box?

    • tychesoftwares

      Hey Rob,

      Thank you for appreciating our plugin.

      Can you please let us know which dynamic pricing plugin you are using on your site? From our plugin, dynamic pricing is currently not possible only the fix fee value is possible to add for the respective payment method.

      We have yet not tested our plugin with any dynamic pricing plugin which we would recommend you to use.

      Can you please let us know your requirement as how the dynamic pricing should work and based on what rules? This information would help us in understanding your requirements and see how we can include it in our future releases.

Add a review

61 thoughts on "Payment Gateway Based Fees and Discounts for WooCommerce"

  1. Florian August 1, 2017 at 2:56 pm #

    Hello,

    I have a problem with an error message: Transaction refused because of an invalid argument.

    2017-08-01T16:50:19+00:00 INFO SetExpressCheckout Response: Array
    (
    [TIMESTAMP] => 2017-08-01T14:50:19Z
    [CORRELATIONID] => 3e13aed9c500b
    [ACK] => Failure
    [VERSION] => 124.0
    [BUILD] => 000000
    [L_ERRORCODE0] => 10431
    [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
    [L_LONGMESSAGE0] => Item amount is invalid.
    [L_SEVERITYCODE0] => Error
    )

    I enabled Austria, Germany and Switzerland in the shop. The plugin is configured to change the price from 29€ to 25€ if somebody is from Switzerland and will pay by PayPal. Works great but I can’t finish checkout procedure. I use the latest WooCommerce, WordPress and Plugin Version.

    thx for help

    Reply

  2. Ian Bartsoen August 14, 2017 at 7:18 am #

    When having a discount that reduces the cart price to zero, it isn’t possible anymore to checkout

    Reply

  3. chefsyaiful August 14, 2017 at 10:27 pm #

    Hi Need Help on setting up.
    In my country the gateway charger per transaction is 3% and ontop of that the GST6% on fee charges ( based price x 3% > 6%x fee charges > based priced minus (fee + gst) = total received

    How shoud i setup

    Reply

    • Alan September 18, 2017 at 4:59 pm #

      any answer to this question?

    • Algoritmika Ltd. September 19, 2017 at 3:51 pm #

      Hi,

      I’m not completely sure I understood you correctly, but I think what you need is to set fee “Type” to “Percent” and “Value” to “3”. And at the bottom of the fee settings page, you can find “Taxes” options. There you need to enable the checkbox and set “Tax Class” to 6% tax class. Tax class needs to be created before that (you can do it in WooCommerce > Settings > Tax).

      Again, I’m not sure, but maybe alternatively you can just set fee value to 3.18% instead if 3% (and do NOT check the “Taxes” checkbox). That is: 3 + (3 x 0.06) = 3.18% But I think the first solution is more “correct”.

      Please let me know if that helped.

      Best regards,
      Tom

  4. chefsyaiful August 14, 2017 at 11:37 pm #

    it work if normal transaction , for me just add on 3.2% but if the item have discount it still charge the gateway fee. how to do it. let say the client purchase a ticket at rm100 and add coupun value rm100 = rm0.00 but the plugin on checkout return , client have to pay rm3.20

    have a look at demo site. techchefs.biz/ticket
    need help

    Reply

  5. Manuel August 18, 2017 at 11:15 pm #

    If i have product on sale (with a discounted price) do this apply the discount again over them? or is a way to bypass already on sale products (do it do not apply double discount).

    Thanx!

    Reply

  6. lehmann45 August 24, 2017 at 8:39 pm #

    Hi,

    Anyone know if this plugin works with PayPal Express?

    I enable the option, but it does not work.

    Can anybody help me ?

    Reply

  7. AussieLes September 1, 2017 at 1:12 am #

    Hi ,

    Great plug in

    I am using WooCommerce subscriptions. I charge a credit card / fee. When the bill is processed it shows 2 credit card fees on the invoice.

    Creditcard surcharge 3%: $0.06
    Credicard surcharge 3% #2: $0.05

    The plug correctly only charges once, but the fee is shown twice?

    Reply

  8. Smitesh Patel September 15, 2017 at 11:58 am #

    I have installed the Free version and noticed when manually raising an invoice, this plugin does not add the fee depending on the payment gateway choice.

    Is there a fix for this as customers will pay using the wrong gateway leaving us in cashflow issues.

    Thanks

    smitesh

    Reply

  9. Ajin September 22, 2017 at 7:54 am #

    There is a bug in the plugin. I have configured plugin to add a percentage of fees for a specific payment gateway. Suppose the payment is declined by the user from the Payment Gateway page, it will redirect to woo commerce site telling order received. If the user go to My Orders, he can see the failed order. If he click on Pay button, it shows the checkout page, but this time the fees are not added to any of the gateway as configured before.

    Reply

  10. Fabio September 25, 2017 at 2:31 pm #

    Hello, the free version works great but the fees that i created for Cash on delivery in the summary orders of Woocommerce is added to the net amount of the products sold and i need it to be addeded to the delivery costs. How can i solve?
    thanks
    Fabio

    Reply

    • Fabio September 27, 2017 at 2:31 pm #

      There is someone in this support forum?????

  11. Andy Holness November 25, 2017 at 12:31 pm #

    Hi

    I noticed that in the plugin description it states that it can be used with PayPal.
    However, I am not sure if it would be inline with PayPal User Agreement where they state that there should be No surcharge.

    PayPal states:
    You agree that you will not impose a surcharge or any other fee for accepting PayPal as a payment method. You may charge a handling fee in connection with the sale of goods or services as long as the handling fee does not operate as a surcharge and is not higher than the handling fee you charge for non-PayPal transactions.

    Here it is: https://www.paypal.com/webapps/mpp/ua/useragreement-full?country.x=US&locale.x=en_US#4

    Please advice me.

    Thanks

    Reply

  12. jared December 1, 2017 at 12:10 pm #

    I’d like to set one payment gateway to a 100% discount, resulting in a zero value subtotal. However, when I do this the other gateways and radio buttons disappear and force the customer to checkout with the currently selected gateway. With multiple gateway options on my site, I want my customers to have the option to click through each one to review them before placing the order. This only happens when I set the discount level to 100%.

    Reply

  13. acmi December 20, 2017 at 4:38 pm #

    i have this bug how can i fexed https://gyazo.com/b619d17832c6906a0668550891006efe

    Reply

    • Tom Anbinder December 20, 2017 at 10:24 pm #

      Hi,

      Do you mean that “PayPal 0,35 EUR” fee shouldn’t be added twice? If that’s correct – could you please let me know if you are using “global” fees (i.e. for all products), or fees on “per product” basis, or both?

      Best regards,
      Tom

  14. Les December 22, 2017 at 2:30 am #

    The plug-in looks to be crashing my site following my upgrade to WP 4.9.1 and Paypal for WooCommerce 1.4.7

    Reply

    • Tom Anbinder January 2, 2018 at 7:57 pm #

      Hi,

      We’ve just released new v2.3.2 – could you please update and let me know if the issue is still there?

      Best regards,
      Tom

    • Les January 2, 2018 at 8:43 pm #

      Thanks, Tom,

      All working, thank you very much for your assistance

      Regards

      Les

  15. Christian January 3, 2018 at 9:10 pm #

    PHP Fatal Error:
    PluginVersion 2.3.2, PHP 7.0

    [03-Jan-2018 21:05:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_available_payment_gateways() on null in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-wc-checkout-fees.php:167
    Stack trace:
    #0 /var/www/vhosts/xxx/httpdocs/wp-includes/class-wp-hook.php(286): Alg_WC_Checkout_Fees->add_gateways_fees(Object(WC_Cart))
    #1 /var/www/vhosts/xxx/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #2 /var/www/vhosts/xxx/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1711): do_action(‘woocommerce_car…’, Object(WC_Cart))
    #4 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(277): WC_Cart->calculate_fees()
    #5 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(777): WC_Cart_Totals->get_fees_from_c in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-wc-checkout-fees.php on line 167

    Reply

    • Tom Anbinder January 10, 2018 at 5:27 pm #

      Hi Christian,

      Could you please update plugin to v2.3.3 and let me know if this is fixed.

      Best regards,
      Tom

    • Christian January 10, 2018 at 7:14 pm #

      Thanxx, now it works fine!

  16. Brad Moore January 9, 2018 at 4:17 pm #

    My fees are being added in twice. Is there any way to fix this?

    Reply

  17. Wasim786 January 20, 2018 at 11:10 am #

    how can I add separate charges for
    stripe European cards and non-European cards

    1.4% + 20p
    for European cards.
    2.9% + 20p
    for non-European cards.

    Reply

  18. Bobby Small January 22, 2018 at 3:44 pm #

    We want to create a coupon that allows some customers to bypass the fee we have set (3% when using credit card). However, since the coupons take effect before the fees, it never matches up to the right amount (the 3% in your plugin is adding 3% to the post-coupon amount). What’s the best way to bypass the fee for some customers that we select?

    Reply

    • Rado February 8, 2018 at 7:30 am #

      Hi there,
      if x was your gross total and y was the discount from the coupon you are looking for:
      (x-x*y)*1.03 = x -> gross total less discount plus 3% fee should be gross total again
      -> y = 0.03/1.03 = 0.0291262 -> your discount should be 2.91262%

  19. Muzamil January 24, 2018 at 8:18 am #

    I am very interested to buy this plugin however I need one function which is to enable/disable based on user role. If that feature is available then it will be a complete plugin for me.

    Reply

  20. Rado February 7, 2018 at 9:09 pm #

    Hi there, I’ve installed Ver. 2.3.3 and would like to use it for a cash discount of 2%. I ticked the “Add Taxes” checkbox (Add taxes to total cart sum, when calculating fees. ). Here in Germany it is common use to deduct cash discount from the total sum (incl. taxes).
    I made a test purchasing on my dev site. Total was EUR 33,50 (incl. taxes). 2% cash discount is 67ct, which was calculated correctly by the plugin. But for some weird reason the total is not 33,50 – 0,67 = 32,83. It is 32,74! Please see the enclosed screenshot and see for yourself. I have no idea what’s going wrong here.
    https://www.dropbox.com/s/iynynikb3zjidt3/Payment%20Gateway.jpg?dl=1
    Thanks for your support, Rado

    Reply

  21. Loïc Matthys February 20, 2018 at 8:56 pm #

    Dear Algoritmica

    We bought and installed your premium plugin ‘Payment Gateway Based Fees and Discounts for WooCommerce”
    in order to add transaction costs in case of certain payment methods (e.g. MasterCard and Maestro).

    However, when someone *first* selects to pay by Card (= extra cost) and *then swaps* to Direct Bank Transfer (free), the extra costs do not disappear.

    How can we solve this?

    Regards
    Loïc

    Reply

  22. Ratti Nicola March 6, 2018 at 5:53 pm #

    hello, i’ve bought the pro version of “Payment Gateway Based Fees and Discounts for WooCommerce”, in particular the lifetime license for unlimited sites. i downloaded the .zip file and, following the instructions, i’ve installed it via FTP. Now the name that appears in my dashboard is “Payment Gateway Based Fees and Discounts for WooCommerce Pro”, but the pro features still don’t work. What can i do?
    thank you very much

    Reply

  23. Minh March 10, 2018 at 7:51 pm #

    Hi, I can’t translate the Fee title using WPML. After save Payment gateway few times, it still not show up on WPML string translation.

    Thanks!

    Reply

    • Alen February 4, 2019 at 7:25 pm #

      I would also like to know hot to translate Fee Title if I use WPML?

  24. Carlos March 14, 2018 at 12:07 pm #

    I want to enable a payment (cash on delivery) only in our country. Is it possible with this plugin?

    Notice I can see a section saying “Customer Countries – Countries to include. Get Payment Gateway Based Fees and Discounts for WooCommerce plugin page to change value”

    However, the help of that section says that that section is to disable the fee or discounts.

    Reply

  25. Laci March 22, 2018 at 11:59 am #

    Hi!

    I can’t use Cash on Delivery payment gateway if I enable this plugin. I dont know why but the option to pay Cash on Delivery will be hidden if If enable this plugin. The other payment options are there but the COD not an option, I set up everything correctly and works on other website, but not here on ny new site. All updated, Woo and WP and Plugin. I use othe plugins for Woo, can it be plugin conflict? If i turn of this plugin the COD payment option is there. Do I have to purchase the pro to get this option to work or what is the problem? Thanks a lot!
    Laci

    Reply

    • Laci March 22, 2018 at 2:54 pm #

      Okay, I solved the problem somehow! Thanks.

  26. Stéphane Demers May 8, 2018 at 3:20 pm #

    Hi,
    I installed your Payment Gateway Based Fees and Discounts for WooCommerce plugin, and I want to buy it, but I have one issue. Instead of displaying a distinct fee, I need that the prices displayed for each product is updated (cart, order), according to the percentage associated to the payment method. I would like to display a third price in the product detail page in order to show the price depending on the payement method.
    Thanks!

    Reply

  27. Easycomtech June 4, 2018 at 12:24 pm #

    Hi, can i have a fee based on the number of the instalments? I have a payment method Alpha bank in which I want to charge a fee based on the number of the instalments.

    Is it possible?

    Reply

  28. ramag July 7, 2018 at 4:11 pm #

    HI i have added a credit card fee, but now i am always getting 2 lines displayed (credit card fee and credit card fee#2) in the checkout – although only one fee is configured (additional fee(optional) is empty. Giving the optional fee the same name is also not merging the lines as indicated in the help ? note. Please advise.

    Also is it possible to setup a fixed minimum e.g. 0.30 and an additional % value e.g. 1.5 % on top ? combined in one line ?
    please advise
    thanks

    Reply

    • Tom Anbinder July 8, 2018 at 5:50 pm #

      Hi,

      Maybe it’s possible to create/share an admin account, so I could login to your server and check what’s going on? If yes – my email is tom@algoritmika.com. Also FTP access would help.

      As for mixed minimum – unfortunately “Minimum Fee Value” option only accepts fixed values (but not percent). I’ll have to re-check if this can be added – will try to add it in next plugin version.

      Best regards,
      Tom

    • Tom Anbinder July 8, 2018 at 5:56 pm #

      P.S. We had a similar issue and the problem was in a compatibility issue with one of these plugins: “Simple Sales Tax”, “WooCommerce Services” or “Taxjar”. Could you please let me know if you have any of these plugins installed on your server?

      Best regards,
      Tom

  29. ramag July 11, 2018 at 3:12 pm #

    HI Tom, thanks no i am not using one of the plugins , but for unknown reason it is working now. Which is good.
    However what i have noticed now is that e.g. it does not seem to work that card fees are applied to products if a product without card fees is in the cart. e.g.
    I have a product (membership) which is excluded from the cardfee (memberships) – (membership is in a category excluded from the cardfee calculation.- ok (no fee applied) .
    Other products the card fee is applied (ok) – But if a membership is in the card together with other products => no card fee is applied for all – I would expect that the card fee of those products is applied which are not excluded. Appreciate your feedback.
    thanks

    Reply

    • Tom Anbinder July 30, 2018 at 5:32 am #

      Hi,

      I’ve replied personally, but in case if anyone else has similar question, I’m posting same here:

      I think what you need to do is go to your fee’s settings (e.g. “WooCommerce > Settings > Payment Gateway Based Fees and Discounts > Direct bank transfer”) and there (at the bottom of the settings page) there is “Product Categories – Calculation type options” – please try changing that from “For all cart” to “Only for selected products”.

      Hope that helps.

      Best regards,
      Tom

  30. Hannah Matthys July 13, 2018 at 2:10 pm #

    URGENT:

    Although I have used the plug-in in the past with no problems at all, it doesn’t seem to work properly after I updated some of the other plug-ins I work with. I checked and re-checked all of the settings multiple times, but the payment gateway fees just don’t show up at checkout. Product prices remain unchanged when switching payment methods.

    I am running out of ideas as to why things suddenly stopped working (I didn’t change any of the settings before and after the update).

    Could you please help me out? Thanks!

    Best regards.

    Reply

  31. Mike T August 16, 2018 at 3:13 am #

    Hello,

    I’m building a new website and am interested in your plugin to charge a fee for using a credit card over a $ threshold, I was wondering, what is the difference between the Free and Premium versions? The descriptions for both seem to be nearly similar.

    Thank you!

    Reply

    • Tom Anbinder August 17, 2018 at 3:59 pm #

      Hi Mike,

      We’ve just added Free vs Pro section to the description. Should have added it earlier – sorry for that. So basically it’s:

      Pro version has all the same features as free version plus:

      • “All products” payment gateways fees and discounts: Customer countries options (not available in free version)
      • “All products” payment gateways fees and discounts: Customer states options (not available in free version)
      • “All products” payment gateways fees and discounts: Product categories options (not available in free version)
      • “Per product” payment gateways fees and discounts: all gateways (in free version it’s Direct Bank Transfer (BACS) only)

      Hope that helps.

  32. patrick Billings August 20, 2018 at 4:47 am #

    Hi,
    I like this plugin, it’s very useful and helps with all of our transaction fees. I have an issue though. I also have a deposits plugin that allows a user to pay only 20% deposit to a product. The problem is that when the user is checking out and select to pay “Deposit Only” the surchasrge percentage is calculated at the full price of the product, not the deposit amount. For example if I have a product that is 500.00 dollars, and the deposit amount is 100.00 Dollars, and the Credit card or Paypal charge is set at 5%, the user will be charged 25,00 dollars, instead of being charge only 5,00 dollars during checkout (when the user selects to only pay deposit)

    How to resolve this issue? Can you incorporate a fix in the next release?….

    Reply

    • Tom Anbinder August 20, 2018 at 11:58 pm #

      Hi,

      Maybe I could login to your site (WP and preferably also FTP) and check it? If yes – my email is tom@algoritmika.com.

      Best regards,
      Tom

  33. alessia rossitto September 17, 2018 at 11:15 am #

    Salve, dopo aver aggiornato la versione del plugin , le spese nel checkout compaiono due volte, quindi ad esempio chi sceglie il pagamento “contanti alla consegna” paga 2 volte il costo di 5€, come posso fare a risolvere???.. ho anche disinstallato e reinstallato, ma il problema non si è risolto…

    Reply

    • Tom Anbinder September 17, 2018 at 11:20 am #

      Hi,

      Maybe you can create/share an admin account to your server (WP and preferably FTP), so I could login and check what’s going on? My email is tom@algoritmika.com

  34. Billy September 27, 2018 at 1:46 pm #

    Hi, urgent help required please!

    I’ve enabled fees for both paypal express checkout and paypal rest card payments. The fees calculate perfectly in the checkout page, however when the customer clicks through to buy, they are removed when they get to paypal.

    Why are the fees being blocked/removed by paypal?

    Thanks

    Reply

  35. copypaste October 26, 2018 at 7:07 pm #

    Hi boys and girls,

    we have the following problem on our site:

    Fatal error: Uncaught Error: Call to undefined function is_checkout() in /homepages/25/d310946291/htdocs/bandoleo/wp-content/plugins/checkout-fees-for-woocommerce-pro/includes/class-wc-checkout-fees.php:169 Stack trace: #0 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/class-wp-hook.php(286): Alg_WC_Checkout_Fees->enqueue_checkout_script(”) #1 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/script-loader.php(1447): do_action(‘wp_enqueue_scri…’) #4 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”) #5 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /homepages/25/d310946291/htdocs/bandoleo/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /homepages/25/d310946291/htdocs/bandol in /homepages/25/d310946291/htdocs/bandoleo/wp-content/plugins/checkout-fees-for-woocommerce-pro/includes/class-wc-checkout-fees.php on line 169

    We installed the latest version of the plugin. Thanks for your help

    Reply

    • tychesoftwares October 29, 2018 at 1:32 pm #

      Hi,

      Thank you for sharing the error and letting us know that you are using the latest version of the plugin.

      I have tried to replicate the issue on our staging site with the latest version 2.5.4. But I am unable to replicate the issue as the checkout page is working fine nor any errors are recorded in the debug.log file.

      Can you please let me know whether you have tried by switching the currently active theme to the default WordPress theme or the StoreFront theme?

      If no, then can you please try and let us know whether the mentioned issue is fixed.

      If the issue still persists then try by deactivating all the plugins except WooCommerce and the Payment Gateway Based Fees and Discounts for WooCommerce plugin and let me know the result.

      Yet the issue persists then please send us the admin details of your site at support at tychesoftwares dot freshdesk dot com. We shall check the issue and get back to you with an update.

  36. akanis November 9, 2018 at 3:38 pm #

    Hi Team

    After i were install plugin , there was no metatab to set per product discount per gateway like the picture you show,
    “Checkout Fees And Discounts” metabox, and select gateway tab

    Reply

    • tychesoftwares November 10, 2018 at 4:15 am #

      Hi Akanis,

      You will need to enable the setting “Payment gateways fees and discounts on per product basis” from the plugin’s settings under WooCommerce -> Settings -> Payment Gateway Based Fees and Discounts page: https://screencast.com/t/SciyFw5kkM .

      :Vishal

  37. fitoryx November 19, 2018 at 10:19 am #

    I am using the PRO version of the Payment Gateway Based Fees and Discounts for WooCommerce version 2.5.5
    I believe the key I entered is correct though it doesn’t say so in settings.

    I have enable the setting “Payment gateways fees and discounts on per product basis” from the plugin’s settings under WooCommerce -> Settings -> Payment Gateway Based Fees and Discounts page: https://screencast.com/t/SciyFw5kkM .

    When I select a product, I CAN see the per product settings to enable or disable certain payment gateway. BUT, those selections ( enabled/disabled ) or overwrite the amount do NOT get reflected in the cart. Can you please help ?

    Reply

    • tychesoftwares November 19, 2018 at 11:54 am #

      Hi,

      I have created a ticket for you on our ticketing system. Can you please check and reply on that ticket?

  38. uogecko November 30, 2018 at 8:41 pm #

    Hello. I have the pro version of the plugin (latest version). I have configured a convenience fee for the credit card gateway method that EXCLUDES a specific category of products. When I add a product from the excluded category to the cart, the convenience fee is NOT added however if I add a second product from another category (that is not excluded), there is still no convenience fee. It seems that the presence of a product from an excluded category removes the convenience fee altogether even if there are other products that should be subjected to it. The correct functionality should be that a convenience fee is added to qualifying products even if there are excluded products in the cart.

    Reply

    • tychesoftwares December 3, 2018 at 9:59 am #

      Hi,

      I have created a ticket for you on our ticketing system. Can you please check and reply on that ticket?

  39. HT Nienhuis February 14, 2019 at 10:50 am #

    we have a recurring paypal but the fee is not calculated. How gets this working?

    Reply

    • tychesoftwares February 14, 2019 at 5:40 pm #

      Hi,

      I have created a ticket for you on our ticketing system. Can you please check and reply on that ticket?

Leave a Reply

Changelog

= 2.5.4 - 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).
= 2.5.3 - 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).
= 2.5.2 - 17/09/2018 =
* Dev - Code refactoring.
= 2.5.1 - 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.
= 2.5.0 - 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.
= 2.4.0 - 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.
= 2.3.3 - 07/01/2018 =
* Dev - Additional check added in Alg_WC_Checkout_Fees_Settings_Gateways (prevents AJAX error on some servers).
= 2.3.2 - 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.
= 2.3.1 - 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.
= 2.3.0 - 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.
= 2.2.2 - 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.
= 2.2.1 - 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).
= 2.2.0 - 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.
= 2.1.1 - 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.
= 2.1.0 - 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.
= 2.0.2 - 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.
= 2.0.1 - 10/03/2016 =
* Fix - Additional checks in add_gateway_fees_settings_hook().
= 2.0.0 - 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.
= 1.3.0 - 27/10/2015 =
* Dev - Second optional fee added.
= 1.2.0 - 30/09/2015 =
* Dev - Checkout fees/discounts info on single product frontend page added.
= 1.1.0 - 04/09/2015 =
* Dev - Checkout fees/discounts on per product basis added.
= 1.0.0 - 29/08/2015 =
* Initial Release.

Installation

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.

Updates

To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.