Search by

deposit-payments / module-admin-deposit

will-wright1

Magento 2 admin-only deposit payment method that preserves the full order total and records the paid deposit and balance due.

Package info

github.com/will-wright1/magento-deposit-payments

Homepage

Documentation

Type:magento2-module

pkg:composer/deposit-payments/module-admin-deposit

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-11-29 10:46 UTC

This package is auto-updated.

Last update: 2026-11-29 10:58:36 UTC


README

Latest Stable Version Total Downloads License

Built by William James Wright. Read the module guide and setup notes.

A Composer-installable Magento 2 module for recording a deposit while an administrator creates an order. The order keeps its full value, the amount already paid and the remaining balance, and is placed in Magento's processing state.

What it does

  • Adds a Deposit payment method to Admin order creation only.
  • Requires an amount greater than zero and no greater than the order grand total.
  • Preserves Magento's original grand_total and base_grand_total.
  • Stores the paid deposit and remaining balance in order and base currency.
  • Places the order in Magento's processing state and its default processing status.
  • Shows the full total, deposit paid and balance due on the Admin order view and grid.

Example

For a £1,000 telephone order with £250 already received, the administrator selects Deposit payment and enters 250.00. The saved order retains a £1,000 grand total, records £250 as the deposit, shows £750 due and opens in the processing state.

Compatibility

Component Declared compatibility
Magento Open Source / Adobe Commerce 2.4.x (magento/framework 103.x)
PHP 8.1 or later within PHP 8, subject to the Magento release's PHP requirements

The repository does not contain a complete Magento installation, so this documentation update was validated statically rather than through a live Magento checkout. Test order placement in a staging environment that matches your production Magento version, currency setup and custom sales extensions.

Installation

The stable package is available on Packagist, so no custom Composer repository is required.

composer require deposit-payments/module-admin-deposit:^1.0
bin/magento module:enable DepositPayments_AdminDeposit
bin/magento setup:upgrade
bin/magento cache:flush

In production mode, include Magento's normal compilation and static-content deployment steps in your deployment process:

bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Upgrade

composer update deposit-payments/module-admin-deposit --with-dependencies
bin/magento setup:upgrade
bin/magento cache:flush

Re-run the production compilation and static-content deployment steps where your deployment process requires them. Place a sample Admin order in staging after an upgrade and confirm the deposit, balance and processing status.

Configuration and use

  1. Go to Stores > Configuration > Sales > Payment Methods > Admin Deposit Payment.
  2. Enable the method if necessary. It is enabled by default and is never exposed at storefront checkout.
  3. Go to Sales > Orders > Create New Order and build the order normally.
  4. Select Deposit payment, enter the amount already received in the displayed order currency and submit the order.
  5. Confirm the full total, deposit and remaining balance on the order view.

Stored order fields

Field Meaning
deposit_paid Deposit in the order currency
base_deposit_paid Deposit in the base currency
deposit_balance_due Remaining balance in the order currency
base_deposit_balance_due Remaining balance in the base currency

The order grid also stores deposit_paid and deposit_balance_due for display and filtering.

Important limitations

  • This is an offline recording method. It does not contact a gateway or collect card details.
  • It does not create an invoice or change Magento's native total_paid value.
  • It records the initial deposit only; collecting, reconciling and refunding later payments remains an operational or custom-integration responsibility.
  • Base-currency deposit values are calculated proportionally from the order and base grand totals at placement time.

Registration is not required to install or use the module.

Registration and support

If Magento 2 Confirm Delete Actions 1.3.0 or later is installed, its shared screen at Stores → Configuration → William James Wright → Module Registration detects this package and can prefill its installed Composer version.

You can also register several modules together. Enter your installed version if you know it. Registration is required for direct setup and compatibility support. You can register with your first support request or use the email address you previously registered with.

Report reproducible bugs and request enhancements through GitHub Issues. Include the Magento and PHP versions, order and base currencies, reproduction steps and any relevant custom payment or sales extensions. Do not post customer information, credentials or payment details.

Licence

Released under the MIT Licence.