replace offline to oflinepayment payment gateways
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\OfflinePayment\Events\Handlers;
|
||||
|
||||
use App\Events\PaymentGatewayListing;
|
||||
|
||||
class OfflinePaymentGateway
|
||||
{
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param PaymentGatewayListing $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(PaymentGatewayListing $event)
|
||||
{
|
||||
return json_decode(setting('offlinepayment.methods'), true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user