So, what are Laravel invocables? A lot of people might be wandering where and how to apply this pattern.
To understand this article, you need: So, I was working on a fin-tech (financial-technology) application where people can invest their money on either daily,weekly or monthly bases and the application debits their card when due.
I made the withdrawal to be either manual or automated (so, the admin decides either).
If the admin sets manual withdrawal, the process would have to be approved first, before calling the payment gateway API.