Hi.
Okay. You have to use Capsule and look in the transaction log for some data that serves as id (can be the id of the transaction)
- First of all, at the beginning of the script (before any class or function)
Use Illuminate \ Database \ Capsule \ Manager as Capsule;
- Then look for that id
$ Data = Capsule :: table ('tblgatewaylog') -> where ('data', 'like', '%'. $ Id. '%') -> get ();
That returns all matches of that $ id
Now,
Remember that for your module you can create a specific table to save what you want and retrieve it easily. That's why I asked you what value you specifically needed. The id of the transaction is in 'tblaccounts' which also has the customer id and the invoice id.