Paypal Standard re-factoring

This commit is contained in:
cuneytsenturk
2018-12-18 13:02:40 +03:00
parent df5eb71cbb
commit a1756a6219
26 changed files with 42 additions and 87 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace Modules\PaypalStandard\Events\Handlers;
use App\Events\PaymentGatewayListing;
class PaypalStandardGateway
{
/**
* Handle the event.
*
* @param PaymentGatewayListing $event
* @return void
*/
public function handle(PaymentGatewayListing $event)
{
$setting = setting('paypalstandard');
$setting['code'] = 'paypalstandard';
return [$setting];
}
}