If you have a lot of website visits (generating a huge server load), your system might be slow and that is why you are supposed to use cron job for transaction processing. (See your merchant panel Tools> Integration> Cron job integration) The cron job processing works this way:
- the time interval set for the cron defines how often the system processes all transactions
- it is divided into two different processing sections
- first time the application processes pending emails
- second time the application processes transactions... this loop continues forever
E.g. if your cron job is set to something like this:
That's it. This way the system will be faster. Make sure your database does not have any problems (space, broken tables, etc...) and also make sure the Cron interval is set to the same amount as your cron - in our example it is set to 2 minutes (*/2 * * * *).
The most convenient cron periods are: 2, 4, 6, 10 minutes.
From what we have tested, the most effective scenario is to use 2 to 4 cron jobs. Using more cron jobs is not so effective as you have to adjust the cron interval to lower the server load caused by cron itself.
If you are executing cron jobs.php file via url, you can use url parameters:
inclusion_type with values include or exclude
inclusion_tasks for tasks which will be included or excluded (comma separated)