WP Manifestindependent plugin directory
manifest / ecommerce / credit-card-fee

WooCommerce POS Credit Card Fee WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

A button to manually add a credit card fee

★ 0stars
5release downloads
v0.0.4latest · 1 year ago

Install

Download woocommerce-pos-credit-card-fee.zip From the v0.0.4 release on GitHub, Oct 7, 2025

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/wcpos/credit-card-fee/releases/download/v0.0.4/woocommerce-pos-credit-card-fee.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin that adds credit card fee management functionality to WooCommerce POS checkout pages.

Features

  • Add/remove a 3% credit card fee on order-pay pages
  • Session-based security (doesn't require WordPress user authentication)
  • Works directly with WooCommerce orders (not cart-based)
  • Restricted to POS checkout pages only (/wcpos-checkout/order-pay/)
  • Preserves selected payment method across page reloads
  • Direct order modification using WC_Order_Item_Fee

Installation

  1. Download the plugin
  2. Upload to your WordPress /wp-content/plugins/ directory
  3. Activate the plugin through the WordPress admin

Usage

The plugin automatically adds fee management buttons to the BACS (Bank Transfer) payment method on POS checkout pages.

  1. Navigate to a POS order-pay page (/wcpos-checkout/order-pay/{order-id}/)
  2. Select the Bank Transfer payment method
  3. Click "Add credit card fee" to add a 3% fee to the order
  4. Click "Remove credit card fee" to remove the fee

Requirements

  • WordPress 5.0+
  • WooCommerce 3.0+
  • WooCommerce POS

Configuration

The fee percentage is currently set to 3% and defined as a constant in the main plugin file:

define('WCPOS\WooCommercePOS\CreditCardFee\FEE_PERCENTAGE', 3);

Security

The plugin uses a custom session-based security token system instead of WordPress nonces, making it compatible with custom checkout pages where the user context may be modified.

Developer Notes

File Structure

woocommerce-pos-credit-card-fee/
├── assets/
│   └── js/
│       └── fee-manager.js
├── .github/
│   └── workflows/
│       └── release.yml
├── readme.txt
├── README.md
└── woocommerce-pos-credit-card-fee.php

Hooks

The plugin uses several WordPress/WooCommerce hooks:

  • woocommerce_gateway_description - Adds buttons to payment method description
  • woocommerce_cart_calculate_fees - Adds fees to cart (for regular checkout)
  • before_woocommerce_pay - Handles fee display on order-pay pages
  • wp_ajax_wcpos_add_credit_card_fee - AJAX handler for adding fees
  • wp_ajax_wcpos_remove_credit_card_fee - AJAX handler for removing fees

License

GPL v2 or later

Support

For support, please visit https://wcpos.com/

Releases

4 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v0.0.4 latest
Oct 7, 2025 1 year ago
woocommerce-pos-credit-card-fee.zip
3
Oct 7, 2025 1 year ago
woocommerce-pos-credit-card-fee.zip
1
Oct 6, 2025 1 year ago
woocommerce-pos-credit-card-fee.zip
1
Oct 6, 2025 1 year ago
woocommerce-pos-credit-card-fee.zip
0
A grade

Security

WooCommerce POS Credit Card Fee 0.0.4 · audited by WP Registry

No security issues found.

Audited release
0.0.4
Findings
none
Worst severity
—
Content hash
ddd746725a9aeff21dca3498…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.