Hey there @electronicsalm,
Hope this finds you well today. There is a setting in the plugin to turn on the cron to check for transactions. This uses the WordPress cron to run in the background to check transactions on your site. You can read this article https://spinupwp.com/doc/understanding-wp-cron/ on how to better setup WordPress cron to avoid failures.
Warm Regards
Paul Kevin
Hi Paul , thanks for your reply, i have checked the option to enable background cron,
However i can’t any hook that’s scheduled to fire on wp-cron, i am using a plugin to check all scheduled events, nothing related to pesapal is listed ,
Also , reading the cron setting on woocommerce setting page for this plugin, it reads,,
In case IPN has issues, you can add a cron job on your server that will be a back-up process to ensure transactions get completed. Enable this to set the cron to run every 5 mins
If i have to manually setup the cron, what is the hook name that the cron will call every time it needs to update transaction status ??
Initially i thought it works out of the box after enabling the background cron option.
Hey @electronicsalm,
You can try to enable the option, save, then re-activate the plugin. Sometimes the cron schedule will not be set unless its on plugin re-activation.
Regarding setting the cron in the server, this is in the link where the server cron will manage all WordPress cron schedules
Paul, thank you for your reply.
I tried re-activating the plugin, the hooks gets set on cron events,
however even after the cron picks up the hook for updating order status, the order still shows pending payment on woocommerce,
Is there anything else i need to do ?
Hi Paul, i just re-installed to the latest version of the plugin v2.0.0 and everything works flawlessly.
I guess it was issue with version 1.4.6
Thank you very much for your support, you may mark this as resolved/closed.