D
D
DiGiTAll2017-09-26 23:29:13
Laravel
DiGiTAll, 2017-09-26 23:29:13

How to create a vendor event listener in Laravel?

I use this component:
https://github.com/pdazcom/laravel-walletone
The installation documentation says:
To process requests of WalletOne payment notifications just create listeners of two events: Pdazcom\LaravelWalletOne\Events\FailedPayment and Pdazcom\LaravelWalletOne\Events \SuccessPayment See
Laravel 5.4 documentation. there are examples of creating your own events and listeners. But I did not understand how to create listeners for "alien" events. Please tell me step by step.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question