Back

VibeFox Payment Fees — Help

Requirements

WordPress: 6.0 or later.

WooCommerce: 7.6 or later, installed and active.

PHP: 8.0 or later.

VibeFox license key: bought on vibefox.net. One key works on one domain.

Installation

1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_payment_fees folder to /wp-content/plugins/ by FTP.

2. Click Activate. WordPress opens VF Payment Fees > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).

3. The menu VF Payment Fees appears in the WordPress admin with the pages Dashboard, Rules and Settings.

4. Open VF Payment Fees > Rules, click Add Rule, choose the payment methods and the fee, and click Save Rule.

5. Adjust labels and display options in VF Payment Fees > Settings.

Configuration

General settings are on VF Payment Fees > Settings. The sections are listed on the left. Click Save Changes to save. Customer texts can be entered for each language on a multilingual site.

General

Enable Payment Fees: master switch. When off, no rule adds a fee or discount anywhere. Default: on.

Default Fee Label: the name of the fee line shown to the customer when a rule has no label of its own. Default: Payment fee.

Multiple Rules Mode: several rules can match the same payment method.

Sum All: adds them up into one fee line (default).
Priority: applies only the matching rule with the lowest priority number.

Include Shipping (new rules): the default of "Include shipping in the percentage base" for new rules. Default: off.

Rounding (new rules): the default rounding for new rules: No rounding, Round up, Round down or Round half up (standard) (default). Every rule keeps its own rounding.

Display

Apply on the Cart Page: when on, the cart totals already include the fee of the default (or last chosen) payment method. When off, the cart page shows totals without it, and the fee appears on the checkout once a payment method is selected. Default: on.

Show Fee Next to Payment Methods: classic checkout: shows the fee or discount of every payment method next to its name, so customers see it before choosing. Default: on.

Show Tooltip: adds a "?" hint with an explanation to the fee line in the cart and checkout totals (classic cart and checkout). Default: off.

Tooltip Text: default: This fee covers payment processing costs.

Rule Details in Admin Orders: shows which rules produced the fee under the fee line on the order edit screen. Default: on.

Logging

Enable Logging: writes fee calculations and rule decisions to a protected log file, rotated at 5 MB. Turn it on only while debugging. Default: off.

Recent Entries: the latest log entries.

Uninstall & Clear

Delete Data on Uninstall: when the plugin is deleted on the Plugins screen, its rules, statistics, settings and log are removed. Deactivation never deletes anything. Fee lines inside existing orders are kept. Default: off.

Data Cleanup:

Delete All Rules: permanently deletes all payment fee rules. Fee lines in existing orders are kept.
Delete Statistics: permanently removes saved report data. Existing orders and their fee lines are kept.
Clear Log: permanently clears the current and rotated debug log.
Clear Rule Cache: clears the active rules cache. It is rebuilt when needed.

Status

System: the current and minimum versions of PHP, WordPress and WooCommerce. Multilingual support: the detected multilingual plugin (WPML, Polylang or qTranslate-XT) and the site languages.

Fee rules

VF Payment Fees > Rules lists the rules with active switch, payment methods, fee, conditions and priority. Search by title or label, filter, drag rows to change the order, and use the bulk actions Enable, Disable, Duplicate and Delete. In Sum All mode the label of the first matching rule is used for the fee line. In Priority mode only the matching rule with the lowest priority number applies.

Click Add Rule or edit a rule:

Rule Title: for you only (rules list, reports). For example PayPal surcharge.

Fee Label (for customers): the name of the fee line in the cart, checkout, order and emails. Empty means the default label from Settings.

Payment Methods: one, several or All payment methods.

Fee Type:

Fixed Amount: a fixed amount is added to the order, for example +€2.00.
Percentage: a percentage of the cart (after coupons) is added, for example +2.9%.
Fixed + Percentage: percentage plus a fixed amount, for example 2.9% + €0.30 (typical card processor pricing).
Commission Rate: a grossed-up fee: after the payment provider takes its percentage (and fixed part) from the whole paid amount, you still receive the full order amount.
Discount (Fixed): a fixed amount is deducted, for example −€5.00 for bank transfer.
Discount (%): a percentage of the cart (after coupons) is deducted, for example −3%.

Limits (optional): Min Fee and Max Fee cap the calculated amount (for discounts: the discount). The rule applies only when the cart total after coupons is within Min Cart Total and Max Cart Total. Empty means no limit.

Conditions: click Add Condition Group and Add condition. All conditions of a group must match (AND). The rule applies when any group matches (OR). No conditions means the rule applies to every order paid with the selected methods. Condition types:

Customer: Billing Country, Billing State (code), Billing City, Billing Postcode (* wildcard, for example 10*), User Role (also Guest (not logged in)), User ID / Email, Logged In, Customer Lifetime Value.
Cart: Cart Subtotal (before coupons), Cart Quantity, Cart Weight, Has Product (ID), Has Category (subcategories included), Has Tag, Has SKU, Has Product Type, Has Shipping Class.
Shipping: Shipping Method (a method type or a specific zone method), Shipping Zone (also Rest of the world), Shipping Cost.
Coupons: Any Coupon Applied, Specific Coupon.
Time: Date Range, Day of Week, Time of Day (also over midnight).

Operators: greater than, at least, less than, at most, equal to, not equal to, is any of, is none of, is, between.

Publish: Active and Priority (used in Priority mode: the matching rule with the lowest number wins).

Calculation: Include shipping in the percentage base, Rounding and Decimals (0 to 4).

Tax: Charge tax on this fee and the Tax Class. Discounts (negative fees) always reduce the order tax proportionally, as WooCommerce does. If your store shows prices including tax, amounts, percentages and limits work with amounts including tax, and the fee line already includes its tax. If it shows prices excluding tax, the tax of a taxable fee is added on top.

Preview: enter a sample Cart and Shipping amount to see the fee. Conditions are not evaluated in the preview.

Click Save Rule.

How it works

Classic cart and checkout: WooCommerce refreshes the order review whenever the customer changes the payment method, and the plugin recalculates the fee on the server. With Show Fee Next to Payment Methods on, the customer sees the fee of every method next to its name before choosing.

Cart and Checkout blocks: the plugin sends the selected payment method to the Store API, so the fee follows it. When the order is placed, the fee is calculated again for the payment method of the order.

Base of percentages: the cart after coupons, optionally plus shipping, in the same tax basis the customer sees.

Order: the fee is saved as a normal WooCommerce fee line, shown in the order, emails and invoices. The order edit screen shows the rules that produced it.

Mixed rules: matching rules are combined into one fee line. A positive combined line is taxed only when a taxable rule applies. A negative line (net discount) always reduces the order tax proportionally.

A surcharge cannot be hidden from the customer. The fee is not added on the Pay for order page: orders paid later from My Account keep the fee they were created with.

Reports

VF Payment Fees > Dashboard shows net fees (surcharges minus discounts, excluding tax), surcharges and discounts, tax on fees, orders with fees and the average per order, the chart Fees over time grouped by day, week or month, and the tables By payment method and By rule. Choose the period (7 days, 30 days, 12 months or From / To dates) and the payment method, then click Apply. Export CSV downloads the report.

Only orders in the statuses Processing, Completed and On hold are counted. Cancelled, failed, refunded and deleted orders drop out automatically. Developers can change the counted statuses with the filter vfw_pfee_report_statuses.

License key

VibeFox license key: bought on vibefox.net. One key works on one domain.

The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.

Open VF Payment Fees > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Payment Fees then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.

Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Payment Fees) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.

An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.

Troubleshooting

The plugin menu shows only Settings: the license key is not active. Open VF Payment Fees > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.

No fee appears: check that Enable Payment Fees is on, the rule is active, it covers the selected payment method, the cart total is within the limits and the conditions match. With Apply on the Cart Page off, the fee appears only on the checkout.

Only one rule is applied: Multiple Rules Mode is set to Priority. Choose Sum All to add up all matching rules.

The fee is one cent off: check Rounding and Decimals of the rule.

Tax is not charged on the fee: turn on Charge tax on this fee in the rule and check that taxes are enabled in WooCommerce.

Wrong fee calculation: turn on Enable Logging, repeat the checkout and read Recent Entries. Clear Rule Cache rebuilds the rule cache.

Updated from version 1.0: nothing to do. Rules, statistics, settings and order data are moved to the new internal prefix automatically on the first page load.

Uninstall

Deactivating the plugin keeps all data. To remove it, deactivate and delete it on the Plugins page. Its rules, statistics, settings and log are removed only if Delete Data on Uninstall was on. Fee lines inside orders are never removed. The license key and license status of this plugin are always removed. The domain slot is freed only in your vibefox.net account.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle