replace offline to oflinepayment payment gateways

This commit is contained in:
cuneytsenturk
2017-09-18 19:57:48 +03:00
parent cb179c27eb
commit 6911c0bb42
37 changed files with 272 additions and 167 deletions

View File

@@ -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);
}
}