xpay✦ Commerce
Directory
WooCommerce plugins
Pay for Payment for WooCommerce
Pay for Payment for WooCommerce
Setup individual charges for each payment method in WooCommerce.
4.7
(71 ratings)Will this break my store?
What the WordPress.org registry says about keeping Pay for Payment for WooCommerce running.
Tested to 6.9.5 — 1 branch behind 7.0
Tested against the WordPress branch in use today.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.false
Your host must be running at least this version.4.6
2
Maintenance & trust
Scored on how Pay for Payment for WooCommerce is looked after — not on how many stores run it.
86
out of 100Maintenance
35 / 35WordPress compatibility
14 / 20Support responsiveness
Not enough dataMerchant satisfaction
13 / 15Listing transparency
7 / 10Ratings
4.7
71 ratingsAdd 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.
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.
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.
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.
Use the GitHub Repo rather than the WordPress Plugin. Do as follows:
-
If you haven’t already done: Install git
-
In the console cd into Your ‘wp-content/plugins´ directory
-
type
git clone https://github.com/vyskoczilova/woocommerce-payforpaymentor better typegit fork https://github.com/vyskoczilova/woocommerce-payforpayment -
If you want to update to the latest files (be careful, might be untested on Your WP-Version) type `git pull´.
I personally prefer GitHub, to keep things straight. The plugin code is here: GitHub
But you may use the WordPress Forum as well.
Either post it on GitHub or—if you are working on a cloned repository—send me a pull request.
Categories
Plugin details
Tags on WordPress.org
