=== WooCommerce Payment Plans for Subscriptions ===
Contributors: paymentplanswc
Donate link: https://paymentplanswc.com/
Tags: woocommerce, woocommerce payment plans, recurring payments, woocommerce deposits, woocommerce installments, woocommerce partial payments, woocommerce down payments
Requires at least: 4.0
Tested up to: 6.3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 3.0
WC tested up to: 8.1.1

Payment Plans and Deposits add-on that supports automatic recurring payments. Requires WooCommerce Subscriptions to be active.

== Description ==

Looking to offer payment plans on your WooCommerce store? Want to automatically charge your customer's payment method when each installment is due? You’re in the right place!

WooCommerce Payment Plans for Subscriptions is an add-on that extends WooCommerce Subscriptions to add payment plans to existing products on your store. Give your customers the flexibility to split their purchase into separate installments (i.e. 4 installment payments over 4 months).

== Installation ==

1. Upload the entire 'woocommerce-payment-plans-for-subscriptions' folder to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Edit a product you want to add a payment plan too. 
4. Go to the ‘Product data’ section and click the *Deposits* tab. 
5. Click ‘Add Plan’ and setup your payment plan.
6. Click ‘Update’ when done making changes. View the product on your site to make sure everything was configured properly.

This plugin requires WooCommerce Subscriptions to be activated.

== FAQ ==

= Does this payment plans plugin support automated payments? =

Yes. This plugin supports automated payments on future installment payments and your customer’s card will automatically run on their next installment date. 

= What payment gateways support automated payments? =

This works with Stripe, PayPal, Authorize.Net, Square, Amazon Pay and 30+ payment gateways. See the full list of payment gateways that [support automatic recurring payments].

= How can I charge a premium on a payment plan? =

1. Edit a product. 
2. Go to the *Deposits* tab. 
3. Set the price you want to charge. 
4. Click update when done making changes. View the product on your site to make sure everything was configured properly.

For example, your product without a payment plan costs $100. You want to charge a 10% premium over 4 monthly installment payments. Set the price to be $27.25. The customer will pay:

* $27.25 as a initial deposit
* $27.25 next month
* $27.25 3rd month
* $27.25 the 4th month.

= What plugins are required? =

WooCommerce, WooCommerce Subscriptions are required to use the WooCommerce Payment Plans for Subscriptions plugin.

= How can I default to a Deposit plan on the product page? =

Edit the product. Go to the *Deposits* tab. Toggle the Default to dropdown to Deposit plan. Click update when done making changes.

== Changelog ==

2023.09.28 - version 1.4.5.2
 * Tested compatibility with WordPress v6.3.1 and WooCommerce v8.1.1

2022.11.14 - version 1.4.5.1
 * Fix: showing payment plan options for bundled items.

2022.11.10 - version 1.4.5
 * New: Added possibility to set up ongoing payment plans.
 * Dev: Added a new hook to filter payment plan labels on the Cart page.
 * Tested compatibility with WordPress 6.1 and WooCommerce 7.1.

2022.10.06 - version 1.4.4
 * Launched the new website, changed the download server URL.
 * Tested compatibility with WooCommerce 6.9.4.

2022.09.07 - version 1.4.3
 * Tweak: renamed API keys to License keys to avoid customer confusion.
 * Tested compatibility with WordPress 6.0.2 and WooCommerce 6.8.2.

2022.05.17 - version 1.4.2
 * Tested compatibility with WordPress 5.9.3 and WooCommerce 6.5.1.

2021.11.15 - version 1.4.1
 * Fix: translation issues in the built-in third-party plugin.
 * Tested compatibility with WordPress 5.8.2 and WooCommerce 5.9.0.

2021.10.19 - version 1.4.0
 * Fix: the "Subscription price suffix" when the "One-time purchase" option is disabled.
 * Tested compatibility with WooCommerce 5.8.0.

2021.10.06 - version 1.3.9
 * Tweak: do not reduce stock on renewal orders.
 * Tweak: do not show the "Payment Options" text on individual product pages if only one method is available.
 * Fix: the wrong future payments when recurring coupons are applied.
 * Tested compatibility with WordPress 5.8.1 and WooCommerce 5.7.1.

2021.09.01 - version 1.3.8
 * Made editing Price and Subtotal columns on the Cart page easier by adding new settings to the WooCommerce > Settings > Payment Plans page. Check the list of available shortcodes.
 * Switched the setting for subscription price suffix from "shown by default" to "hidden by default". If you need it, please visit the plugin settings page and reactivate it.
 * Tested compatibility with WordPress 5.8 and WooCommerce 5.6.0.

2021.06.01 - version 1.3.7
 * Tested compatibility with WordPress 5.7.2 and WooCommerce 5.3.0.

2021.05.04 - version 1.3.6
 * Tested compatibility with WordPress 5.7.1 and WooCommerce 5.2.2.

2021.04.14 - version 1.3.5
 * Tested compatibility with WordPress 5.7 and WooCommerce 5.2.1.

2021.02.12 - version 1.3.4.1
 * Re-added the "Never expire" option from the subscription length options.

2021.01.26 - version 1.3.4
 * Added a bunch of filters to make the plugin compatible with the Currency Switcher for WooCommerce.
 * Renamed hooks to filter cart item prices and subtotals on the Cart page.
 * Tested compatibility with WordPress 5.6 and WooCommerce 4.9.2.

2020.11.23 - version 1.3.3
 * Tweak: adding all payment plans onto the Cart page.

2020.11.17 - version 1.3.2
 * New: a new setting to show/hide the subscription price suffix on product category pages, check it on the WooCommerce > Settings > Payment Plans page.
 * Tweak: automatically hide the Pay Deposit checkbox on the Cart page if a product has more than one payment plan.
 * Fix: the wrong future payment date on the Checkout page.

2020.11.03 - version 1.3.1
 * Fix: PHP warning notices.

2020.11.01 - version 1.3.0
 * Added translations for French, German, Spanish, and Ukrainian.
 * Tested compatibility with WordPress 5.5.3 and WooCommerce 4.6.1.

2020.10.07 - version 1.2.0
 * New: Added sign-up fee feature that can be applied on payment plans.
 * Dev: Added new hooks to filter cart item prices and subtotals on the Cart page.
 * Tweak: Automatically apply one-time shipping if payment plan is applied to physical product to avoid shipping costs on future payment plan payments.

2020.09.25 - version 1.1.0
 * Fix: renamed Deposits to Payment Plans throughout WooCommerce dashboard and My Account pages.

2020.09.24 - version 1.0.9
 * Fix: updated Cart and Checkout text strings to match total number of payments (i.e. Payable over 4 months if 4 monthly payments).
 * Fix: removed price suffixes next to product price on Category and Product pages.
 * Fix: added z-index to payment play drop-down.

2020.09.16 - version 1.0.8
 * Minor fixes.

2020.09.11 - version 1.0.7
 * Adding a drop-down on payment plan options.
 * Minor fixes.

2020.09.08 - version 1.0.6
 * Autocomplete renewal orders to avoid sending order shipping data.
 * Fix: date format on My Account pages.
 * Fix: better rename front-end notices.

2020.08.31 - version 1.0.5
 * Adding the possibility to choose payment plan on Cart page.

2020.08.13 - version 1.0.4
 * Minor fixes.

2020.08.02 - version 1.0.3
 * Fix: added subtext and description fields to display under the payment plan.
 * Fix: display payment plan length on Cart and Checkout pages with the option chosen. 
 * Fix: display date format from the Settings > General page.

2020.07.29 - version 1.0.2
 * Fix: Warning message that appeared if WP_DEBUG was enabled.

2020.06.14 - version 1.0.1
 * Fix: Added license key setup on the WordPress settings page.

2020.06.01 - version 1.0.0
 * First release of the vastly simplified, and combined, plugin and theme drop-in library.
 