This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Pay for Payment for WooCommerce

Pay for Payment for WooCommerce

Setup individual charges for each payment method in WooCommerce.

10K+ active installs
4.7
(71 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Pay for Payment for WooCommerce running.

WordPress compatibility
Tested to 6.9.5 — 1 branch behind 7.0
Tested against the WordPress branch in use today.
Last updated
5 months ago
At least 4.3 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
false
Your host must be running at least this version.
Requires WordPress
4.6
Contributors
2

10K+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Pay for Payment for WooCommerce is looked after — not on how many stores run it.

86

out of 100
SolidSome ratings or support history.

Maintenance
35 / 35
Updated 137 days ago.
WordPress compatibility
14 / 20
Tested to WP 6.9.5, 1 branch(es) behind.
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
13 / 15
4.7/5 across 71 rating(s).
Listing transparency
7 / 10
Provides: screenshots, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-02 from the WordPress.org plugin registry.
Ratings

4.7

71 ratings
5★63
4★2
3★2
2★1
1★3
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Add individual charges for each payment method as a flat rate and/or as a percentage of the cart total. The plugin first calculates the percentage rate and then adds the fixed rate on top.

Now compatible with React-based payment gateways! Configure payment fees for all gateways (including WooCommerce Stripe) using the new centralized settings tab at WooCommerce > Settings > Pay for payment.

You can use placeholders in the payment item title:

  • [FIXED_AMOUNT]: Will print money-formatted fixed amount you entered.
  • [PERCENT_AMOUNT]: will print out percental amount you entered
  • [CART_TOTAL]: will print out money-formatted cart totals.
  • [MINIMUM_AMOUNT]: will print out money-formatted minimum amount you entered when calculating percentage fee.
  • [MAXIMUM_AMOUNT]: will print out money-formatted maximum amount you entered when calculating percentage fee.
  • Example: Payment Fee ([FIXED_AMOUNT] + [PERCENT_AMOUNT]% of [CART_TOTAL])

Requires at least WooCommerce 2.6, compatible with WooCommerce 3.2+ (recommended). The support for WC 2.6 will be dropped soon.

Features

  • Fixed charge and/or a percentage of cart total
  • Possibility to disable for free/zero shipping
  • Plugin API. See GitHub for details.

Compatibility

  • Now compatible with React-based payment gateways including WooCommerce Stripe Payment Gateway! Use the centralized “Pay for payment” settings tab (WooCommerce > Settings > Pay for payment) to configure fees for React-based gateways.
  • WPML (see FAQ)
  • WooCommerce Price Based on Country for WooCommerce & PRO
  • Multi Currency for WooCommerce & PRO
  • WooCommerce Multi-Currency when the store currency is USD
  • YayCurrency PRO
  • WOOCS

Limitations

  • It seems that Mercadopago gateway is not handling WC_Fee correctly. Get in touch with Mercadopago support (and I’m happy to help them fix the issue)
  • Better not use it with PayPal. (Legal issue, see FAQ as well.)
  • Doesn’t work on “Pay for order” pages (manually created orders or canceled payments), because of WC limitations

Special Credits

  • to Jörn Lund (@podpirate) who have developed this plugin and abandoned it in 2016.

Can I use it with PayPal?

No. PayPal does not permit charging your customer for using PayPal. This is a legal issue rather than a technical one.
See PayPal User Agreement, > “4.6 No Surcharges” for details.
You have been warned.

WPML – How to translate?

If you need to localize Fee title and Fixed charge go to go to WPML > String translation and look for following type of text domain: woocommerce-pay-for-payment and than you should find a strings with name “{payment-method-slug} – charges fixed” or “{payment-method-slug} – item title”. See the second screenshot.

Can’t to setup my payment requirements in the user interface. The option I need is missing.

The plugin user interface only offers either a fixed amout or a percentage of the carts subtotal.
If you need to implement more complex calcuations like ‘no charges for orders above 100 Bucks’ or ‘2% of cart subtotal but at least 2 Bucks’,
you’ll have to use one of the filters. See Plugin API for details.

woocommerce_pay4pay_apply specifies if a charge will be applied.

woocommerce_pay4pay_applyfor_{$payment_gateway_id} specifies if a charge will be applied on a certain payment method.

woocommerce_pay4pay_{$payment_gateway_id}_amount allows you to alter the amount of the charge being added.

I want to use the latest files. How can I do this?

Use the GitHub Repo rather than the WordPress Plugin. Do as follows:

  1. If you haven’t already done: Install git

  2. In the console cd into Your ‘wp-content/plugins´ directory

  3. type git clone https://github.com/vyskoczilova/woocommerce-payforpayment or better type git fork https://github.com/vyskoczilova/woocommerce-payforpayment

  4. If you want to update to the latest files (be careful, might be untested on Your WP-Version) type `git pull´.

I found a bug. Where should I post it?

I personally prefer GitHub, to keep things straight. The plugin code is here: GitHub
But you may use the WordPress Forum as well.

I found a bug and fixed it. How can I contribute?

Either post it on GitHub or—if you are working on a cloned repository—send me a pull request.

Categories
Payment gateways
Plugin details
Version2.2.2
Last updated2026-03-18 1:20pm GMT
Added2014-01-30
Requires WordPress4.6
Tested up to6.9.5
Requires PHPfalse

Tags on WordPress.org
ecommerce
fee
payment gateway
woocommerce
Alternatives
Other plugins in the same categories.
Payment Plugins for PayPal WooCommerce
80K+ installs
4.9(124)
Payment Gateway for PayPal on WooCommerce
10K+ installs
4.4(74)
Payment Plugins for Stripe WooCommerce
100K+ installs
4.8(298)
WooPayments: Integrated WooCommerce Payments
900K+ installs
3.3(162)
WooCommerce Stripe Payment Gateway
700K+ installs
3.1(235)
Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more
2K+ installs
4.9(101)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy