=== WpDevArt: Deposits & Payment Plans for WooCommerce ===
Contributors: wpdevart
Tags: woocommerce, deposits, partial payment, payment plans, woocommerce payments
Requires at least: 6.1
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers pay a deposit, follow a payment plan or choose how much to pay now, and collect the rest with pay links and reminders.

== Description ==

Big orders sell better when customers don't have to pay everything at once: furniture, custom work, events, travel, courses, pre-built PCs. Our **Deposits & Payment Plans for WooCommerce** plugin lets customers pay part of the price today and the rest later, and it handles the rest for you: the schedule, pay links, reminders, taxes, stock, refunds and reports.

Each later payment is a small linked WooCommerce order with its own pay link, so customers pay it with the payment methods your store already uses, and your reports count every payment once.

Everything in the free plugin stays free.

➡ **[GET PREMIUM VERSION NOW!](https://wpdevart.com/woocommerce-deposits-payment-plans-plugin)**

[GET SUPPORT](https://wordpress.org/support/plugin/wpdevart-deposits-payment-plans-for-woocommerce/)

https://www.youtube.com/watch?v=tEB2hqQe0aI

= Free version features =

* **Deposits** — A percentage of the price (25% by default) or a fixed amount per item. Set it for the whole store, a category, a product or a variation, or turn deposits off for chosen products.
* **Pay a deposit or pay in full** — Shoppers choose on the product page and can switch in the cart, and at checkout with the Checkout block. You can require the deposit so "Pay in full" is hidden, and choose which option is selected at first.
* **Rest due after a set time** — 30 days after the deposit by default; any number of days, weeks or months.
* **Payment plans** — A first payment today, then equal payments every week, every two weeks or every month, from 2 to 12 payments in all.
* **Shoppers choose how much to pay now** — From a minimum you set (a percentage or a fixed amount) up to the full price. Amounts below the minimum are refused on the product page and raised to the minimum in the cart.
* **Deposit on the whole order** — At checkout, shoppers choose between paying the whole order and a deposit on it (30% by default, or a fixed amount), optionally only from a minimum order total. Products with their own deposit or plan keep it.
* **"Due today" and "Due later" everywhere** — The product page, the cart and checkout (block and classic), the thank-you page, the emails and My Account show what is paid today, what is due later and when. Shop pages can show "Deposit from $25.00" under the price.
* **Correct taxes** — Each payment carries its share of every tax rate, for prices with or without tax.
* **Shipping and fees** — Paid with the first payment, spread across the payments or paid with the last one.
* **Coupons** — Percentage coupons lower every payment; fixed-amount coupons come off the first payment. Coupon usage is counted once. Minimum and maximum spend rules and free-shipping minimums count the whole order, not only today's payment.
* **Stock** — Reduced when the first payment is made (the default) or only when the order is paid in full. Later payments never change stock.
* **"Partially paid" order status** — Orders with money still to come wait as Partially paid and move on when the last payment arrives (orders with a pre-order item keep the Pre-Ordered status of WpDevArt Pre-Orders). Choose Processing instead if your shipping plugin only picks up Processing orders.
* **Payment methods** — Choose which methods can take the first payment and which can take later payments, also when an order is paid from its payment page. Cash on delivery is never offered for an order with money due later, nor for a later payment.
* **Pay links** — Each later payment opens on WooCommerce's normal payment page, for guests and logged-in customers. Customers can pay early or pay everything left at once. A payment made by bank transfer waits for you to confirm it and is not asked for again in the meantime.
* **Reminders and overdue alerts** — The pay link is emailed a set number of days before each due date (3 by default). A payment not made by its due date is marked Overdue and you get an email.
* **Payments box on the order screen** — Send or resend a payment request, copy the pay link, change a due date and mark a payment as paid, also a smaller amount, which splits the payment. Bulk "Send payment request" in the orders list.
* **Orders list** — A Payments column with what is paid, what is left and the next due date, filters for orders with money due, overdue payments and payment orders, and an option to hide payment orders.
* **Deposits on orders you create** — For phone or email orders made in the admin: take a deposit, with the rest due a number of days later, then send the pay link. Not for cash on delivery orders: the deposit is paid online.
* **Cash on delivery advance** — Shoppers who choose cash on delivery pay part of the order online first (a fixed amount, a percentage or the shipping cost) and the rest at the door. Mark it as paid when the courier brings the money. It is offered for carts without items that have their own deposit, plan or amount.
* **Payment schedule agreement** — An "I agree to pay the rest on the dates shown" checkbox at checkout, for payment plans (the default), for every order with money due later, or never. The agreement is saved on the order with the date, the text and the schedule.
* **My Account** — A "Payments" section on each order with a progress bar, every payment, its date and status, and "Pay now" and "Pay all remaining" buttons. A "My payments" page lists every order with later payments. The customer's Orders list shows main orders only (optional).
* **Seven emails** — Deposit received and New order with a deposit, Payment requested, Payment reminder, Payment received, Paid in full, and Payment overdue for you. Each has its own subject, heading and on/off switch under WooCommerce › Settings › Emails, and works with WooCommerce's block email editor (WooCommerce 10.8 or newer).
* **Correct reports** — WooCommerce Analytics counts the money of every payment and the items sold once.
* **Safe with several currencies** — Later payments always use the currency of the original order.
* **Refunds and cancellations** — Refund each payment on its own order through the payment method that took it. Cancelling, refunding or trashing the main order cancels its unpaid payments, and a note names the paid ones so you can refund them. An order restored from the trash, or set back to a paid status, gets its payments back. Deleting a main order for good keeps its paid payment orders.
* **Express buttons that never overcharge** — With WooCommerce Stripe Gateway, the Apple Pay, Google Pay and Link buttons are hidden on products with payment options and on the cart and checkout pages while the cart has money due later, because they could charge the full price.
* **Block, shortcode and Elementor widget** — The payment options box and the "My payments" list on any page, for example in a block theme's product template or a custom thank-you page.
* **Every text editable** — Labels and messages for the product page, cart, checkout and My Account. Translation ready, WPML and Polylang ready.
* **Test mode and setup checklist** — Only shop managers see the payment options until you switch to everyone.
* **30-day summary** — Orders with deposits, money taken with first payments and later payments, money still due, orders with an overdue payment and orders paid in full.
* **Works with the other WpDevArt plugins** — Pre-Orders, Request a Quote, Cancel & Edit Orders and Duplicate & Repeat Orders. See the FAQ.
* **Privacy first** — No outside services. The payment schedule is part of WordPress' personal data export and erasure, and the plugin suggests text for your privacy policy.

= Premium version features =

* **Payment plan builder** — Plans with a first payment (equal share, % or amount), then payments every few days, weeks or months, on a day of each month, on fixed dates or with your own amounts.
* **Several plans per product** — Shoppers compare plan cards; plans can end by a date and carry a plan fee, a discount for paying in full or a discount for paying the rest early.
* **Pay before an event** — All payments done a number of days before a date on the product, a fixed date or a date the shopper picks.
* **Rules** — Different deposits and plans by customer role, guest or email, category, tag, brand, product, price, cart total, country, shipping method and dates (a rule can also choose the payment methods of its part payments), plus a plan on the whole cart.
* **Cash on delivery rules** — Ask for an advance only from the countries, postcodes, shipping methods, cart totals or customers you choose.
* **When the rest is due** — After a period, a number of days after checkout, on a fixed date, or when the order gets a status such as Completed or the pre-order is released.
* **Pay any amount, any time** — Customers pay as much as they like towards what is left, from a lowest amount.
* **Layaway** — Nothing ships until the order is paid in full, with a minimum per period and what happens when it is not paid in time.
* **Automatic charges** — Stripe and WooPayments charge the saved card on each due date, with retries, safety checks, a "charge now" button and an email before each charge.
* **Reminder sequence and late fees** — Several reminders before and after the date, one link for overdue payments, a grace period, late fees with a cap, and what happens when payments stop (pause, cancel, refund or keep the deposit).
* **More time and limits** — Customers ask to move a payment or pause the plan; you approve or decline. Limits per customer for overdue payments and open balances.
* **Recovery of unpaid deposits** — A short email sequence brings shoppers back when the first payment did not go through.
* **WhatsApp and SMS** — Payment reminders by WhatsApp, Twilio, Vonage or ClickSend, only to customers who opt in.
* **Customer payment portal** — Pay off early, switch to another plan, print a statement and receipts, add the dates to a calendar and choose reminder emails.
* **"Or 4 payments of $300"** — Plan prices on shop pages, product pages and the classic cart, plus a plan calculator and a comparison table.
* **Layouts and styles** — Cards, list, compact buttons or a dropdown, your own colours and fonts with a live preview, and a logo and colour for the plugin's emails.
* **Schedule editor** — Change amounts and dates, add or remove payments, or turn an unpaid phone or quote order into a plan, with a preview.
* **Payments screen** — Every plan by state (upcoming, due now or in its grace days, overdue, failed charges still unpaid, paid in full) with search, bulk actions and CSV.
* **Reports** — Money expected per week and month, overdue money by age, collection rate, deposits taken, balance per customer and a dashboard widget.
* **Accounting export** — Every payment as CSV (detailed, or the Xero or QuickBooks layout with one file per currency), emailed every week or month.
* **Webhooks** — Signed webhooks for deposit paid, payment due, paid, charge failed, overdue, paid in full and cancelled, with retries.
* **Security deposits for rentals** — A refundable deposit on its own line, refunded or partly kept with a note, by hand or automatically; it can be held on the card with Stripe.
* **Reservation fee** — "Reserve now for $50": the item is held for a number of days and released, with the fee refunded or kept, if it is not bought.
* **Group pay** — Several people pay parts of one order through a shared link before a deadline.
* **Your other WpDevArt plugins** — Deposits and plans on pre-orders with the rest due at release, plans when a quote is accepted, the rest due before the estimated dispatch date, and plan changes from Cancel & Edit Orders.
* **Multi-currency** — Fixed amounts follow the shopper's currency (CURCY, WPML Multicurrency, Aelia, WooPayments, or your own rates).
* **Wallet and store credit** — Pay a later payment from the TeraWallet balance, and refund to the wallet or as store credit.
* **Bookings and events** — The rest due a number of days before the booking or event date with WooCommerce Bookings, YITH Booking, FooEvents and Easy Booking.
* **PDF receipts and statements** — A numbered receipt for each payment and a statement, attached to the emails; invoices from PDF Invoices & Packing Slips and WebToffee show Paid and Balance due.
* **Automation and analytics** — FluentCRM and AutomateWoo triggers and actions, and control over how deposit orders and later payments are tracked (GTM4WP, PixelYourSite, Google for WooCommerce).
* **Staging mode and activity log** — Charges, customer messages and webhooks pause on a copy of your site; every payment event is logged and exportable.

= Deposits and Partial Payments =

Sell high-priced products more easily: shoppers pay a deposit today and the balance later. The deposit is a percentage of the price or a fixed amount per item, and you set it for the whole store, a category, one product or a single variation. On the product page shoppers choose a partial payment or the full price, or you make the deposit the only option. You can also offer a deposit on the entire cart at checkout, or let customers enter their own amount from a minimum you set.

= Payment Plans =

Break a large price into installments customers can afford. The first payment is taken at checkout, and the rest follows in equal parts weekly, every two weeks or monthly, up to 12 payments in total. Each later installment becomes a linked WooCommerce order with its own pay link, so customers pay it with the payment methods your store already accepts, and your sales reports count every payment once.

= Multiple Payment Plans =

With the Premium version, one product can offer several payment plans at once, for example three monthly payments, or six with a small plan fee. Shoppers compare them as cards, a list, compact buttons or a dropdown and pick the one that fits their budget. Each plan has its own first payment, schedule and fee, and can be offered until a date you choose. Add a discount for paying in full, and show "or 4 payments of $300" next to prices.

= Payment Progress & History =

Customers always see what is paid and what is left. In My Account, every order paid in parts shows a progress bar, each payment with its date and status, and "Pay now" and "Pay all remaining" buttons, and a "My payments" page lists all of these orders. In the admin, the Payments box on the order screen lists every payment, and the Payments column of the orders list shows what is paid, what is left and the next due date.

= Payment Reminders =

No more chasing balances by hand. A few days before each due date (three by default), the customer gets an email with a direct pay link. A payment that is not made by its due date is marked Overdue, and you get an email about it. Payment requests can also be sent from the order screen or in bulk from the orders list. Premium adds reminder sequences before and after the due date, late fees, and WhatsApp or SMS reminders.

= Numbered PDF Receipts =

With the Premium version, each deposit and installment can get a PDF receipt with its own sequential number and your prefix, for example R-000125. Receipts are attached to the "Deposit received" and "Payment received" emails and can be downloaded from the customer's order. A PDF statement of what is paid and what is still due can go with payment requests and reminders, and invoices made with PDF Invoices & Packing Slips or WebToffee can show Paid and Balance due.

= Who is it for? =

* **Furniture, electronics and other big-ticket stores**: a deposit or a few monthly payments instead of one large payment.
* **Custom work, events and services**: a deposit to book, the rest before the date.
* **Cash on delivery stores**: a small advance online means fewer refused deliveries.

= Which products and stores does it work with? =

* Works with High-Performance Order Storage (HPOS) and the classic posts storage.
* Works with the Cart and Checkout blocks and the classic cart and checkout, block themes and classic themes.
* Simple and variable products. Other product types, items inside bundles and composite products, and gift cards are sold at the full price.
* Shop managers can change the settings and handle payments. No ads outside the plugin's own screens.
* Templates can be overridden from your theme.

= Can developers extend it? =

* Shortcodes: `[wpdevart_dpp_payment_options product_id="123"]` and `[wpdevart_dpp_my_payments order_id="123"]` (leave out the ID for the product or order of the page). Blocks: `wpdevart-dpp/payment-options`, `wpdevart-dpp/my-payments`.
* Filters: `wpdevart_dpp_product_options`, `wpdevart_dpp_supported_product_types`, `wpdevart_dpp_skip_cart_item`, `wpdevart_dpp_foreign_price`, `wpdevart_dpp_can_take_deposit`, `wpdevart_dpp_is_visible`, `wpdevart_dpp_email_body`, `wpdevart_dpp_pay_actions`, `wpdevart_dpp_account_order_data`, `wpdevart_dpp_account_endpoint`, `wpdevart_dpp_placed_order_id`, `wpdevart_dpp_template_file`, `wpdevart_dpp_default_settings`, `wpdevart_dpp_capability`, `wpdevart_dpp_settings_tabs`, `wpdevart_dpp_settings_sections`, `wpdevart_dpp_settings_fields`, `wpdevart_dpp_checklist_items`, `wpdevart_dpp_shell_hooks`.
* Actions: `wpdevart_dpp_loaded`, `wpdevart_dpp_schedule_started`, `wpdevart_dpp_payment_opened`, `wpdevart_dpp_request_payment`, `wpdevart_dpp_payment_reminder`, `wpdevart_dpp_payment_overdue`, `wpdevart_dpp_due_changed`, `wpdevart_dpp_payment_paid`, `wpdevart_dpp_paid_in_full`, `wpdevart_dpp_payments_cancelled`, `wpdevart_dpp_payments_restored`, `wpdevart_dpp_settings_saved`, `wpdevart_dpp_settings_tab_content`, `wpdevart_dpp_updated`, `wpdevart_dpp_deactivate`.

= Credits =

* The coins, calendar, clock and check icons are from [Tabler Icons](https://tabler.io/icons), Copyright (c) 2020-2024 Paweł Kuna, MIT License.

Have questions, ideas or suggestions? [Share them with us](https://wordpress.org/support/plugin/wpdevart-deposits-payment-plans-for-woocommerce/).

== Installation ==

1. Install and activate WooCommerce.
2. Install and activate WpDevArt: Deposits & Payment Plans for WooCommerce from the Plugins screen (or upload it to `/wp-content/plugins/`).
3. Open **Deposits & Plans → Settings**. Turn on deposits, a payment plan or "Let shoppers choose how much to pay now" for the whole store, or set them on chosen products (the Deposits tab of each product) and categories. The plugin starts in test mode: only shop managers see the payment options. Place a test order, then set "Show the payment options to" to **Every customer (live)**.

== Frequently Asked Questions ==

= How do customers pay the rest? =

Each later payment becomes a small order linked to the main order, with a pay link. Customers get the link by email before the due date, and find it on the order page and under My Account → My payments. They pay on WooCommerce's payment page with the payment methods your store offers, except cash on delivery. Nothing is charged automatically. A payment made by bank transfer or cheque waits on hold until you mark it as paid, and is not asked for again in the meantime: the customer gets WooCommerce's on-hold email with your bank details, and you get WooCommerce's New order email for it.

= Which payment methods can take the first payment and the later payments? =

Every method your store offers, unless you choose fewer under Settings → Payments. The same lists apply when an order is paid from its payment page. Cash on delivery is never offered for the first payment of an order with money due later, because the payments after it would have no pay link (use the "Cash on delivery advance" option instead), and never for a later payment, because no money would be collected.

= What happens to express buttons such as Apple Pay and Google Pay? =

They could charge the full price, so with WooCommerce Stripe Gateway the Apple Pay, Google Pay and Link buttons are hidden on products with payment options and on the cart and checkout pages while the cart has money due later. Express buttons of other payment plugins, such as PayPal, are not hidden: check them before you go live.

= Are taxes, shipping and coupons split correctly? =

Yes. Every payment carries its share of each tax rate. Shipping and fees go with the first payment, are spread across the payments or go with the last one, as you choose. Percentage coupons lower every payment and fixed-amount coupons come off the first payment (with cash on delivery where only the shipping is paid online, they come off the amount paid at the door). Coupon spend limits, free-shipping minimums and shipping costs based on the order value count the whole order.

= What do my sales reports show? =

The main order holds the items. Each later payment is a linked order whose money WooCommerce Analytics adds to your revenue without counting it as another order or another sale of the items. Stock changes only once.

= How do refunds and cancellations work? =

Refund the first payment on the main order and each later payment on its own order, through the payment method that took it. When you cancel, refund or trash the main order, its unpaid payments are cancelled and their pay links stop working; a note names the payments that were already paid, so you can refund them.

= Can I take a deposit on an order I create in the admin? =

Yes. Save the unpaid order, enter the deposit (a percentage or a fixed amount) and after how many days the rest is due in the Payments box, click "Take a deposit", then send the customer the pay link. Orders with cash on delivery as the payment method can't take a deposit, because the deposit is paid online.

= Does it work with the other WpDevArt plugins? =

Yes, using only their own features:

* **Pre-Orders** and **Pre-Orders Premium**: while a product is on pre-order it gets none of this plugin's options (no payment options box, no "Deposit from" label, no choice in the cart or at checkout); once its release date has passed it is a normal product again. Pre-Orders Premium's own deposits and balance orders keep working. A cart can hold pre-order items and items with a deposit or plan together (when Pre-Orders allows mixed carts): an order that holds both keeps the Pre-Ordered status, its later payments are collected as usual, and if the pre-order is released before everything is paid, the order waits as Partially paid (or Processing, as you chose).
* **Request a Quote Premium**: its own deposits keep working, and this plugin's options stay off on its deposit items and its balance orders.
* **Cancel & Edit Orders**: Partially paid is ticked by default next to Processing in its "Order statuses customers can change", so customers can still change the address of a main order or cancel it until a later payment is paid, within the limits you set in Cancel & Edit Orders (untick Partially paid to close these orders); items of orders with later payments, and payment orders, can't be changed online.
* **Duplicate & Repeat Orders**: an order is repeated at the full price, and payment orders are never repeated.

= Does it work with HPOS and the Cart and Checkout blocks? =

Yes. The plugin declares compatibility with High-Performance Order Storage and with the Cart and Checkout blocks, and also works with the classic posts storage, the classic cart and checkout, block themes and classic themes.

= Can I override the templates? =

Yes. Copy `templates/payment-options.php`, `templates/order-payments.php` or `templates/my-payments.php` to `your-theme/wpdevart-deposits-payment-plans-for-woocommerce/`. The text of the emails is `templates/emails/email-body.php`: copy it to `your-theme/wpdevart-deposits-payment-plans-for-woocommerce/emails/`.

= Does the plugin send data to external services? =

No. See the External services section.

= How do I remove all data when I delete the plugin? =

Turn on "Delete data on uninstall" under Deposits & Plans → Settings → Tools. When the plugin is deleted, its settings and the deposit settings of products and categories are removed. Your orders, their payments and their notes always stay.

= How do I translate the plugin? =

It is translation-ready with the text domain `wpdevart-deposits-payment-plans-for-woocommerce`. Translations can be contributed on translate.wordpress.org. WPML and Polylang users can translate the labels, messages and email texts under String Translation.

= Does the Premium version replace the free version? =

No. The Premium version is a separate add-on that extends the free plugin. Both stay installed and active.

== Screenshots ==

1. WooCommerce Deposits
2. Payment Plans
3. Add Different Rules
4. Payment Reminders
5. Deposits & Payment Plans Settings Main Page
6. Deposits & Payment Plans Payments Page

== External services ==

The plugin makes no automatic requests to any external service: no tracking, no update pings and no remotely loaded assets.

Payments are made through the payment method plugins your store already uses (for example Stripe), exactly as for any WooCommerce order. This plugin sends nothing to those services on its own.

The only third-party destinations it links to are opened by the administrator on purpose, from the plugin's own screens, and receive nothing but the click:

* **wpdevart.com** — the "Get Premium" and Featured Themes / Featured Plugins links lead to the developer's website. [Privacy policy](https://wpdevart.com/privacy-policy/).
* **wordpress.org** — the "Get Support" link opens the plugin's support forum, and the review request links to its review form.

== Changelog ==

= 1.0.0 =

* First release.