E
E
Eugene2020-02-28 12:33:30
Laravel
Eugene, 2020-02-28 12:33:30

How to implement the logic of getting the order status in laravel when a record in the database is changed?

Hello. I use Sheduler for this purpose to check the delivery status of the order every five minutes. How to implement the logic of obtaining this status? (exactly which order changed its status)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Talalaev, 2020-02-28
@Eugene70

I may not have understood something, but the question is strange, especially for someone who just at least looked at the documentation. There are events
in Laravel , they can be created, listened to, etc. Moreover, there is even a sample code for order status events (delivery, and sending a delivery notification) :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question