src/LaravelShop.php
public static function getGateway()
    {
        $gateways = Session::get('shop.gateway');
        return $gateways && count($gateways) > 0
            ? $gateways[count($gateways) - 1]
            : null;
    }
public static function getGateway()
    {
        $gateways = Session::get('shop.gateway');
        return $gateways && count($gateways) > 0
            ? $gateways[count($gateways) - 1]
            : null;
    }
public static function getGateway ( ) { $ gateways = Session :: get ( 'shop.gateway' ) ; return $ gateways && count ( $ gateways ) > 0 ? $ gateways [ count ( $ gateways ) - 1 ] : null ; }
Checkout current user's cart.
Checkout current user s cart .