Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskoczilova committed Jan 16, 2020
1 parent 4b1910b commit 8ff4796
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: vyskoczilova, podpirate
Donate link: https://paypal.me/KarolinaVyskocilova
Tags: ecommerce, woocommerce, payment gateway, fee
Requires at least: 4.6
Tested up to: 5.2
Stable tag: 2.0.13.3
Tested up to: 5.3
Stable tag: 2.0.14
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -18,7 +18,7 @@ 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.
- *[CART_TOTAL]*: will print out money-formatted cart totals.
- 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.
Expand All @@ -32,6 +32,7 @@ Requires at least WooCommerce 2.6, compatible with WooCommerce 3.2+ (recommended
- PHP 5.6 & PHP 7 compatible
- Compatibility with **WPML** (see [FAQ](https://wordpress.org/plugins/woocommerce-pay-for-payment#faq))
- Compatibility with **[WooCommerce Price Based on Country PRO](https://www.pricebasedcountry.com)** as stated [here](https://wordpress.org/support/topic/how-to-make-my-plugin-compatible/)
- Compatibility with **[Price Based on Country for WooCommerce](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/)**

= Limitations =
- Better not use it with PayPal. (Legal issue, see FAQ as well.)
Expand All @@ -49,16 +50,16 @@ Just follow the standard [WordPress plugin installation procedere](http://codex.
= 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](https://www.paypal.com/webapps/mpp/ua/useragreement-full?country.x=US&locale.x=en_US#4), > "4.6 No Surcharges" for details.
See [PayPal User Agreement](https://www.paypal.com/webapps/mpp/ua/useragreement-full?country.x=US&locale.x=en_US#4), > "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',
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](https://github.com/vyskoczilova/woocommerce-payforpayment#plugin-api) for details.

<code>woocommerce_pay4pay_apply</code> specifies if a charge will be applied.
Expand Down Expand Up @@ -98,6 +99,9 @@ Either post it on [GitHub](https://github.com/vyskoczilova/woocommerce-payforpay

== Changelog ==

= 2.0.14 (2020-01-16) =
* Added a compatibility with [Price Based on Country for WooCommerce](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/) in [#51](https://github.com/vyskoczilova/woocommerce-payforpayment/pull/51) thanks to [Oscar Gare](https://github.com/oscargare).

= 2.0.13.3 (2019-09-04) =
* Fix: Compatibility with WC 3.7.0 - Move saving settings to `wp_loaded` as WooCommerce does in [PR #23091](https://github.com/woocommerce/woocommerce/pull/23091)

Expand Down Expand Up @@ -194,7 +198,7 @@ Either post it on [GitHub](https://github.com/vyskoczilova/woocommerce-payforpay
- Feature: Select tax class to be applied to payment fee
- Feature: Select if cart taxes will be included on payment fee calculation
- Feature: Placeholders in fee title.
- Fixes: completely repeat all WooCommerce tax and fee calculation steps after payment fee has been added.
- Fixes: completely repeat all WooCommerce tax and fee calculation steps after payment fee has been added.

= 1.2.5 =
- Fix: incorrect fee calculation.
Expand All @@ -216,7 +220,7 @@ Either post it on [GitHub](https://github.com/vyskoczilova/woocommerce-payforpay
- Plugin-API: add filter `woocommerce_pay4pay_apply`
- Code Refactoring: separated admin UI from frontend to keep things lean.
- Code Refactoring: use function <code>WC()</code> (available since WC 2.1) in favour of <code>global $woocommerce</code>.
- Compatibility: requires at least WC 2.1.x,
- Compatibility: requires at least WC 2.1.x,

= 1.1.1 =
- Added wpml configuration file to keep compatibility with http://wordpress.org/plugins/woocommerce-multilingual/
Expand All @@ -237,4 +241,4 @@ Either post it on [GitHub](https://github.com/vyskoczilova/woocommerce-payforpay


== Upgrade Notice ==
Do you use WPML? Check "String translation" for localization of fee title and fixed charges, wpml-config.xml have been removed.
Do you use WPML? Check "String translation" for localization of fee title and fixed charges, wpml-config.xml have been removed.
4 changes: 2 additions & 2 deletions woocommerce-payforpayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
Plugin Name: WooCommerce Pay for Payment
Plugin URI: https://kybernaut.cz/pluginy/woocommerce-pay-for-payment/
Description: Setup individual charges for each payment method in WooCommerce.
Version: 2.0.13.3
Version: 2.0.14
Author: Karolína Vyskočilová
Author URI: https://kybernaut.cz
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: woocommerce-pay-for-payment
Domain Path: /languages
WC requires at least: 2.6
WC tested up to: 3.7.0
WC tested up to: 3.8.1
*/

/**
Expand Down

0 comments on commit 8ff4796

Please sign in to comment.