Skip to main content

Auto-Approve: dry-run mode and Auto-Approval History

What it does​

Let Auto-Approve record what it would do with each request without doing it, and read every decision, previewed or real, in Sales → Withdrawals → Auto-Approval History. You switch dry-run mode in Stores → Configuration → MageMe Extensions → EU Withdrawal, group Auto-Approval. Auto-Approve is part of Pro. See What Pro adds.

Before you start​

Steps​

  1. Go to Stores → Configuration → MageMe Extensions → EU Withdrawal and expand Auto-Approval.
  2. Set Enable Auto-Approval to Yes and Dry-Run (preview only) to Yes. Click Save Config.
  3. Let new requests come in. Auto-Approve looks at pending requests on a schedule.
  4. Go to Sales → Withdrawals → Auto-Approval History and check each decision.
  5. When the decisions are what you want, set Dry-Run (preview only) to No and save.

Reading the decision history​

Auto-Approval History has one row per decision:

  • Evaluated: when Auto-Approve looked at the request, in the time zone shown in the column heading.
  • Request: the request number, with a link to the request.
  • Refund due: the refund total of the request.
  • Mode: Dry-run for a preview, Live for a real decision.
  • Decision: what Auto-Approve decided: Approve, no credit memo, Approve and issue credit memo, Send to staff or No rule matched.
  • Action taken: what came of it: Executed, Routed to manual, Failed, Skipped, Leased while a retry is running, or Not executed for a preview.
  • Matched rule: the rule that decided.

The grid also has Customer, Email, Credit Memo and Store View. Use Columns to show or hide them.

Auto-Approval History with two live decisions: one request approved with a credit memo, one sent to staff.

Decision history cannot be changed​

Rows are only added. The module does not let anyone edit or delete a decision, and it asks the database to refuse deleting rows as well. A decision that turned out wrong stays in the history next to what your team did afterwards.

What you should see​

With dry-run on, new rows have Mode Dry-run and Action taken Not executed, and the requests stay Pending. With dry-run off, the matched actions run and Action taken shows the result.

Limits​

  • Dry-run mode does not change requests, issue credit memos or send Send to staff emails. Hand-over emails can still be sent.
  • In dry-run mode each pending request gets one preview. When you turn dry-run off, the requests that are still Pending are decided again, for real, and the matched actions run. Handle the previewed requests you do not want automated before you switch.
  • Some hosting plans do not allow the database guard against deleting rows. The history then works without that extra guard.

Troubleshooting​

  • The history stays empty. Auto-Approve is off for the store view, the error brake has paused it, no request is pending, or cron is not running. A request that is excluded before the rules run still gets a row, with Decision Send to staff and Matched rule None. See Auto-Approve is not deciding anything.
  • Many decisions say No rule matched. Check the conditions and the priority of your rules. See Auto-Approve: creating a rule.

What's next​

Last reviewed November 6, 2026