Blame view

modules/PaypalStandard/Events/Handlers/PaypalStandardGateway.php 430 Bytes
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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];
      }
  }