Magento 2 Cancel Unpaid Orders Automatically After a Prepayment Deadline
SKU: PREPAYMENTAUTOCANCEL1
- automatically cancel unpaid prepayment orders after X days
- warning email before cancelling, cancellation email afterwards
- stock is released again
- test run, exceptions and log in the admin
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 Cancel Unpaid Orders when prepayment stays open
With the Magento 2 cancel unpaid orders feature from Mironsoft for prepayment you tidy up unpaid orders on your own. After a deadline in days without incoming payment the module cancels the order, releases the stock and informs the customer. Beforehand a warning email with bank details goes out. A test run shows which orders would be affected before anything happens. The notices at checkout use Alpine.js without an extra library.
Deadline in days
Define after how many days a prepayment order without incoming payment is cancelled, optionally excluding weekends.
Warning beforehand
Two days before Magento 2 cancel unpaid orders takes effect, the customer receives an email with amount and bank details so that they can transfer in time.
Cancellation by cron
Magento 2 cancel unpaid orders means that a cron job cancels due orders and writes the reason to the log.
Stock released
When Magento 2 cancel unpaid orders runs, the stock returns so that popular items are available again for paying customers.
Exceptions
Customer groups and single orders can be excluded, for example with an agreed payment term.
Test run and log
The test run lists affected orders without cancelling, and the log proves every action.
Why merchants clean up unpaid prepayment orders in the Magento 2 shop
An unpaid prepayment order reserves goods that another customer would buy. If the transfer fails to arrive, the item shows as scarce in the shop although it sits in the warehouse. Merchants therefore search for a way to let Magento 2 cancel unpaid orders automatically or ask how prepayment can be cancelled after a deadline. By default the order stays in the status Pending until somebody cancels it by hand.
With Magento 2 cancel unpaid orders the manual work disappears. The customer knows beforehand until when they must pay, receives a friendly notice and gets no surprise. You gain clean stock and a tidy order list.
Magento 2 cancel unpaid orders: choose deadline and payment methods
In the admin you choose for which payment methods the cancellation deadline applies, typically prepayment and bank transfer, and how many days it lasts. The deadline counts from the order date, optionally excluding weekends and public holidays. You also set how many days before the end the warning is sent. A different deadline for single customer groups is possible. The deadline should be named in your terms and at checkout; legal review is the responsibility of the shop operator.
- Payment methods and deadline in days configurable
- Counting from the order date, weekends excludable
- Own deadline per customer group
Warning email before cancelling and information afterwards
Before the deadline ends the customer receives an email with order number, amount, bank details and the last payment day. After the cancellation a second email follows that explains what happened and contains a link to order again. You edit both templates per store view in the admin. The notice at checkout names the deadline already when ordering so nobody is surprised. A note on the legal position belongs in your terms and is checked by the shop operator.
- Warning email with amount, bank details, last day
- Cancellation email with link to reorder
- Deadline notice already at checkout
Check payment, cancel and release stock
Before cancelling, the module checks whether an invoice or payment exists for the order. If the amount has arrived but is not booked yet, a buffer period protects against a wrong cancellation, and you can exclude orders from the automation with an admin action. When it cancels, the module uses the Magento cancellation so that stock, coupon usage and reservations are reset cleanly. Orders with partial shipment or shipping are never cancelled.
- Check for invoice and payment before cancelling
- Buffer period against wrong cancellations
- Cancellation via Magento logic with stock release
Use the test run, exceptions and log in the admin
Before the first live run the test run shows as a list which orders would be affected, without cancelling. Afterwards you switch to live operation. The log records which order was cancelled or warned when and for which reason, with mail status. You can mark single orders as exceptions, for example after an agreement with the customer. A summary of the runs appears in the admin grid.
- Test run without cancelling
- Exceptions per order and customer group
- Log with date, reason and mail status
Where Magento 2 cancel unpaid orders helps in daily shop work
Four typical situations for shops with prepayment and bank transfer.
Scarce goods
With Magento 2 cancel unpaid orders, items that were reserved but never paid return to sale after the deadline.
Limited quantities
During special promotions, Magento 2 cancel unpaid orders frees quotas that unpaid orders would otherwise block, so that paying customers get them.
Small teams
Instead of going through lists, Magento 2 cancel unpaid orders checks daily and writes every action to the log.
B2B with payment terms
You exclude customers with an agreed payment term, while new customers on prepayment run through the deadline.
Magento 2 cancel unpaid orders compared: manual work and a deadline
What changes when unpaid orders are no longer cancelled by hand.
| Topic | Without module | With Mironsoft Prepayment Auto Cancel |
|---|---|---|
| Detection | Searching the order list | Cron checks daily |
| Customers | No advance warning | Warning email before the deadline |
| Stock | Stays blocked | Released on cancellation |
| Safety | Wrong cancellations possible | Payment check, buffer, test run |
| Evidence | None | Log with reason and mail status |
How we set up Magento 2 cancel unpaid orders for your shop
The process after you place the order.
Alignment
You tell us the payment methods, deadlines for Magento 2 cancel unpaid orders, time of the warning and exceptions for customer groups.
Installation
We install the module and configure Magento 2 cancel unpaid orders for your store views.
Templates and notices
We style the warning and cancellation emails and the deadline notice at checkout.
Test run
We start the test run on your existing orders and check the list together with you.
Live operation and handover
We switch to live operation and train your team on log and exceptions.
Scope of Magento 2 cancel unpaid orders compared with payment reminders
The payment reminders from Mironsoft chase open invoices in several levels without cancelling. Magento 2 cancel unpaid orders instead ends unpaid prepayment orders after a deadline and releases the stock. The two modules complement each other: remind first, cancel at the end.
Legal notes: the module carries out your settings and is not legal advice. Whether and how you set deadlines, name them in the contract and terms, and how that relates to withdrawal and consumer law is checked by the shop operator.
No download — personal setup instead
Prepayment Auto Cancel is not listed here as a ready-made download file to install yourself. The purchase is a commission: after the purchase we get in touch, install the module in your shop and agree deadlines, emails and exceptions with you.
Frequently asked questions
Everything important about deadlines, emails, checks and how the purchase works.
How can I let Magento 2 cancel unpaid orders for prepayment automatically?
How can I cancel unpaid orders after X days in Magento 2?
Does the customer learn about the cancellation beforehand?
Is the stock released again?
What happens with orders that are already paid?
Can I test Magento 2 cancel unpaid orders first?
Can single customers be excluded?
Does Magento 2 cancel unpaid orders work with Hyvä?
Is the cancellation legally secured?
Can I download and install the module myself?
Magento 2 Cancel Unpaid Orders – Mironsoft Prepayment Auto Cancel