Adding a fee per gateway using the Payment Gateway based Fees extension

Most store owners have preferences when it comes to using certain payment gateways. You might prefer most of your revenue going through a payment gateway that accepts credit cards, like Stripe, but still allow users to use PayPal. For situations like this, you can charge an extra fee on the order based on the payment gateway, to encourage users to use the cheaper option.

Getting ready

You should install and activate the Payment Gateway based Fees extension available on WooThemes.com.

How to do it…

In order to add a fee per gateway using Payment Gateway based Fees, go through the following steps:

  1. From the WordPress admin, go to WooCommerce | Settings | Additional Fees.
  2. Click on the payment gateway that you'll be adding a fee to:
    How to do it…
  3. Check the Enable additional fees on total cart value for this gateway setting.
  4. Select how you'd like to charge the additional fee in the Type of additional fee dropdown.

    Note

    Personally, I prefer the Fixed amount setting because it's simple for customers to understand.

  5. Enter the additional fee in the Value to add field.
  6. Click on Save changes.

During the checkout experience, you'll now see a fee when you select a payment gateway with a fee:

How to do it…

There's more...

In this recipe, I have only covered the options you need to get started. There are a few more options you can tweak to get it working just the way you want. For a full list of options, see the documentation for this plugin at http://docs.woothemes.com/document/payment-gateway-based-fees/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset