mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 09:02:07 +01:00
In one cron, 250-500 orders may be processed (based on 5 minutes). If an admin sets cron time up smaller than 5 minutes and 250-500> new transactions are made after last cron executed, it can be blocked. Authorize cron sets up an_lastcron every time when admin/cron.php executes. This must be set up after blocking check code. As result, if pending orders aren't accepted with in 30 days at payment management page, they expired and users cannot enrol. When an admin enabled order review, he is guaranteed 'Payment managers accept/deny transactions manually'. Scheduled-Capture is designed for forgotten orders only ;)