src/LaravelShopProvider.php
public function map(Router $router)
    {
        $router->group(['namespace' => 'Amsgames\LaravelShop\Http\Controllers'], function($router) {

            $router->group(['prefix' => 'shop'], function ($router) {

                $router->get('callback/payment/{status}/{id}/{shoptoken}', ['as' => 'shop.callback', 'uses' => 'Shop\CallbackController@process']);

                $router->post('callback/payment/{status}/{id}/{shoptoken}', ['as' => 'shop.callback', 'uses' => 'Shop\CallbackController@process']);

            });

        });
    }
public function map(Router $router)
    {
        $router->group(['namespace' => 'Amsgames\LaravelShop\Http\Controllers'], function($router) {

            $router->group(['prefix' => 'shop'], function ($router) {

                $router->get('callback/payment/{status}/{id}/{shoptoken}', ['as' => 'shop.callback', 'uses' => 'Shop\CallbackController@process']);

                $router->post('callback/payment/{status}/{id}/{shoptoken}', ['as' => 'shop.callback', 'uses' => 'Shop\CallbackController@process']);

            });

        });
    }
public function map ( Router $ router ) { $ router -> group ( [ 'namespace' => 'Amsgames\LaravelShop\Http\Controllers' ] , function ( $ router ) { $ router -> group ( [ 'prefix' => 'shop' ] , function ( $ router ) { $ router -> get ( 'callback/payment/{status}/{id}/{shoptoken}' , [ 'as' => 'shop.callback' , 'uses' => 'Shop\CallbackController@process' ] ) ; $ router -> post ( 'callback/payment/{status}/{id}/{shoptoken}' , [ 'as' => 'shop.callback' , 'uses' => 'Shop\CallbackController@process' ] ) ; } ) ; } ) ; }
Maps router.
Add package special controllers.

@param Router $route Router.
Maps router . Add package special controllers .