Paypal Standard re-factoring
This commit is contained in:
23
modules/PaypalStandard/Listeners/PaypalStandardGateway.php
Normal file
23
modules/PaypalStandard/Listeners/PaypalStandardGateway.php
Normal 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];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user