Added
- PHP 8 compatibility with OpenCart 3
Installation:
Create cron for webhook to run in every 5 min frequency
Using CLI :
- Rrun
crontab -e
- Add the command: */5 * * * * curl --request POST https://<SITE_BASE_URL>/index.php?route=extension/payment/razorpay/rzpWebhookCron (press
i
to edit file) - Save. (press
Esc
key then CapitalZZ
) - Run:
crontab -l
to view added Cron.
Using cPanel:
- Log on to your cPanel Interface.
- Go to
Advanced
section. - Click on
Cron Jobs
. - Select the specific time from the lists provided (every 5 min).
- Enter
https://<SITE_BASE_URL>/index.php?route=extension/payment/razorpay/rzpWebhookCron/
in the "Command" field. - Note: for more details visit opencart cron docs