Paypal Standard Payment Gateways App
This commit is contained in:
		
							
								
								
									
										0
									
								
								modules/PaypalStandard/Events/Handlers/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								modules/PaypalStandard/Events/Handlers/.gitkeep
									
									
									
									
									
										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