I'm loosing important data because of failed queue
Disclaimer: I'm not a programmer but I understand how code works in general and under the basics of laravel.
We run a e-commerce store and we're managing our affiliate programme with Hasoffers. All our affiliates have affiliate links similar to oursite.com/?aff_id=number.
In the user controller, when the purchase is complete, we retrieve the aff_id parameter and send it to hasoffers. We simply append the aff_id on the hasoffers conversion postback url. The link would like like this:
http://oursite.go2cloud.org/aff_lsr?offer_id=1&aff_id=aff_id
we do not store this aff_id value anywhere else. So as you can imagine, we lost it if the job fails to execute. And that's what's happening to us. There are 350 jobs in the queue. Which has been tried more than 40 times each. We can't find any information on why they are not going through and we also have no information on what's on those queues.
So my questions are:
Is there a way to know what do we have on the payloads on each queue?
Is there a way to know what is causing the job queue to fail?
In standard, error are thrown in log file (storage/logs/laravel.log). You should find what's going wrong. I hope this log is filled for every driver, but no evidence of it. (Work for database in all case)