Auto-Approve is not deciding anything
Symptom
You set up Auto-Approve rules, but new withdrawal requests stay Pending for your team. Either Sales → Withdrawals → Auto-Approval History gets no new rows, or it gets rows but no request is approved.
Checks
The settings are in Stores → Configuration → MageMe Extensions → EU Withdrawal, group Auto-Approval. Switch the scope at the top of the page to the store view of the request's order.
- Check Enable Auto-Approval. It shows Yes for that store view.
- Check Dry-Run (preview only). It shows No. With Yes, Auto-Approve only records what it would do: the rows have Mode Dry-run and Action taken Not executed.
- Open the request in Sales → Withdrawals → Withdrawal Requests and look at Receipt Status. It shows Sent. Auto-Approve looks at a request only after its receipt was sent. While the receipt waits or is being tried again, nothing is recorded for the request.
- On the same page, look at the status. It is Pending. Auto-Approve never decides a request that is no longer Pending.
- Find the request in Auto-Approval History. It has no row with Mode Live yet. In live mode each request is decided once. After any decision, No rule matched included, Auto-Approve doesn't look at it again, even after you add a rule. Only an action that failed is tried again.
- In Auto-Approval History, look for rows with Action taken Failed. Fewer actions than Error Brake Threshold failed in the last 15 minutes. Approved requests handed over to your team after an error count as failures too. Otherwise the error brake has paused Auto-Approve for that store view, and no new rows appear.
- Look at the rows with Action taken Routed to manual. They aren't approvals over Daily Auto-Action Cap. Over the cap, a request that a rule would approve goes to your team, and it isn't tried again the next day.
- Go to Sales → Withdrawals → Auto-Approval Rules. The rule you expect is Active, its Websites include the website of the order, and no rule with a lower Priority decides first.
Expected result
A few minutes after the receipt is sent, the request gets a row in Auto-Approval History with Mode Live and the decision of the matching rule. With an approving rule, the request becomes Approved.
Fix
- If check 1 failed: select Yes in Enable Auto-Approval for that store view and click Save Config. The requests that are already Pending are decided too, so set up your rules first.
- If check 2 failed: when the previews look right, select No in Dry-Run (preview only). The previewed requests that are still Pending are then decided again, for real. See Auto-Approve: dry-run mode and Auto-Approval History.
- If check 3 failed: the receipt hasn't gone out. The usual cause is that Magento cron doesn't run. That also stops Auto-Approve, which runs every minute as a cron job. Ask your developer or host to check cron, and see The receipt email did not arrive. A receipt that could not be delivered at all shows Failed Permanent. Auto-Approve then sends the request to your team.
- If check 4 failed: someone on your team already handled the request. Nothing to fix.
- If check 5 failed: Auto-Approve won't decide this request again, so handle it yourself. A new rule applies to the requests that come after it.
- If check 6 failed: find out in Auto-Approval History why the actions failed. Then click Reset Error Brake in the Auto-Approval group, or wait until the failures are more than 15 minutes old. See Auto-Approve: caps, brake and hand-over.
- If check 7 failed: handle the routed requests yourself. If your team is ready to see more approvals without a look, raise Daily Auto-Action Cap. The day starts at 00:00 UTC.
- If check 8 failed: correct the rule or its priority. See Auto-Approve: creating a rule. Some requests go to your team whatever the rules say, for example when the store view's Default Contract Type isn't Physical goods. See Requests Auto-Approve never decides.
If none of the checks helped, contact MageMe support with the request number and a screenshot of its rows in Auto-Approval History.
Related
- Auto-Approve: how it works: which requests it looks at, and when.
- Auto-Approve: caps, brake and hand-over: the limits that stop it on purpose.
- Settings: Auto-Approval: every field of the group.
- The receipt email did not arrive: when the receipt holds Auto-Approve back.
Was this page helpful?