Hello,
Possibly the security plugin is blocking the rest api call to your server. Can you please email the webhook url to support@bitsstech.com so we can have a look?
Regards,
Amit
-
This reply was modified 1 year, 7 months ago by bitsstech.
Hi Amit,
Sharing the webhook URL that the plugin gave me:
https://wcarplay.in/wp-json/fc210198607cba78/fc210198607cba78
Please check.
Regards,
Ashish
Hello Ashish,
Thank you for sharing the information.
Upon checking, we found that the webhook is working fine and able to receive data correctly.
However, when we tried to setup the webhook on shiprocket, we got the same error. So possibly, something is blocking shiprocket from sending request to your server/website.
Please check your security plugins like “wordfence” and see if they are blocking the request. You can try deactivating the security/firewall plugin and see if that resolves the problem.
If you want us to check the issue, it would be helpful if you could give us temporary access to your development or staging website.
Thanks!
Amit
Hello,
As per our discussion on email, the issue was caused because Cloudflare’s “Bot Fight Mode” was blocking the api call. I am glad that you were able to fix the issue turning off Bot Fight Mode.
Please let me know if you have more questions.
Amit
Hey Amit,
I’m still to ustilise the full functionality of the plugin. Just want to know if automitically pulls in the AWB to a new order when I have updated that order on Shiprocket?
Kind regards,
Ashish
Hi Ashish,
Yes, the awb along with all other shipment information is automatically fetched from shiprocket. Actually, “pull” is incorrect term, shipment status is “pushed” by shiprocket via the plugin’s webhook.
But, this happens only after the shipment is “Out for Pickup”. So if you’ve just scheduled the pickup on shiprocket, the awb number may not be available on wordpress yet.
If webhook is configured correctly, the shipment tracking data is sent to website only after the status is “Out for Pickup”. For any “pickup scheduled” order, please wait for the courier to pick it up, then check if the tracking is available on website or not.
We are aware of this limitation and we are trying to find ways to fetch the tracking data as soon as pickup is scheduled on shiprocket.
Regards,
Amit
Hey Amit,
I did notice that happening today. Thanks for the update.
Kind regards,
Ashish