Payment Gateway Based Fees and Discounts for WooCommerce

Rated 3.75 out of 5 based on 8 customer ratings
(8 customer reviews)

Set fees or discounts for WooCommerce payment gateways.

Author: WP Wham SKU: N/A Category: Tags: , , Version: 2.3.3; Last updated: 6 months ago; Requires WordPress version: 4.4; Tested up to: 4.9


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.

Prices & Licenses

Single siteUnlimited sites
1 year$19.99$49.99 $29.99
Lifetime$49.99 $40.99$99.99 $59.99

8 reviews for Payment Gateway Based Fees and Discounts for WooCommerce

  1. Rated 5 out of 5


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

  2. Rated 3 out of 5



    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


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

    • Algoritmika Ltd.


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

      Best regards,

  4. Rated 4 out of 5

    Marian Kadanka

    Currency switching support via ‘wc_aelia_cs_convert’ filter is inconsistent. Filed a bug report at

    • Algoritmika Ltd.


      Fixed in v2.3.0.

      Best regards,

  5. Rated 3 out of 5


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

  6. Rated 5 out of 5 (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


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

  8. Rated 3 out of 5


    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.


      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,

Add a review

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

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


    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


  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


  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


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

      any answer to this question?


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


      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,


  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.
    need help


  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).



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


    Anyone know if this plugin works with PayPal Express?

    I enable the option, but it does not work.

    Can anybody help me ?


  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?


  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.




  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.


  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?


    • 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 #


    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:

    Please advice me.



  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%.


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

    i have this bug how can i fexed


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


      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,


  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


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


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

      Best regards,


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

      Thanks, Tom,

      All working, thank you very much for your assistance




  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


    • 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,


      • 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?


  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.


  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?


    • 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.


  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.
    Thanks for your support, Rado


  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?



  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


  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.



  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.


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


    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 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 #

    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.


  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?


  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


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


      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 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 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,


  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.


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


    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.


Leave a Reply


= 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.
* Tweak - Plugin header updated ("Text Domain" and "Domain Path" added).
* Tweak - Plugin link updated from to

= 2.1.1 - 04/10/2016 =
* Fix - Bug when local and global fees have same title, 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.
* Fix - Categories restrictions wrongly applied to per product fees, fixed.
* Tweak - "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.
* Tweak - Author changed.
* Tweak - Plugin renamed.

= 2.0.2 - 06/08/2016 =
* Dev - Multisite support added.
* Dev - "Variable Products Info" option added.
* Dev - "Categories to include - Calculation type" option added to global fees.
* Fix - sanitize_title() added to add_gateway_fees_settings_hook() and removed from output_sections().
* Dev - Language (POT) file added.
* Tweak - Author changed.

= 2.0.1 - 10/03/2016 =
* Fix - Additional checks in add_gateway_fees_settings_hook().

= 2.0.0 - 01/03/2016 =
* Dev - %product_title%, %product_variation_atts% added.
* Fix - Checked tab in admin per product fees is marked now.
* Fix - Info on Single Product bugs fixed: for variable products; for percent fees.
* 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.
* Fix - "General" section in admin settings menu is marked bold by default.

= 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.


  • 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.


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